import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import type { Timestamp } from "@bufbuild/protobuf/wkt"; import type { ObjectRef } from "../../common/v1/object-ref_pb.js"; import type { MeasurementUnit } from "../../common/v1/unit_pb.js"; import type { FileType, Orientation, PresetTemplate } from "./preset-template_pb.js"; import type { Size } from "./size_pb.js"; import type { Guide } from "./guide_pb.js"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file preflight/v2/config.proto. */ export declare const file_preflight_v2_config: GenFile; /** * @generated from message preflight.v2.PreflightCheckConfig */ export type PreflightCheckConfig = Message<"preflight.v2.PreflightCheckConfig"> & { /** * @generated from field: int64 id = 1; */ id: bigint; /** * @generated from field: google.protobuf.Timestamp created_at = 2; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 3; */ updatedAt?: Timestamp; /** * @generated from field: common.v1.ObjectRef object_ref = 4; */ objectRef?: ObjectRef; /** * @generated from field: int64 supplier_id = 5; */ supplierId: bigint; /** * Image Resolution Check * * @generated from field: uint32 image_res_error_below = 6; */ imageResErrorBelow: number; /** * @generated from field: uint32 image_res_warn_below = 7; */ imageResWarnBelow: number; /** * @generated from field: uint32 image_res_recommended = 8; */ imageResRecommended: number; /** * @generated from field: repeated preflight.v2.FileType allowed_file_types = 9; */ allowedFileTypes: FileType[]; /** * @generated from field: bool require_embedded_fonts = 10; */ requireEmbeddedFonts: boolean; /** * @generated from field: bool enabled = 11; */ enabled: boolean; /** * @generated from field: optional int32 page_count = 12; */ pageCount?: number; /** * @generated from field: bool visible_to_customer = 13; */ visibleToCustomer: boolean; /** * Trim Size Check * * @generated from field: optional double trim_size_height = 14; */ trimSizeHeight?: number; /** * @generated from field: optional double trim_size_width = 15; */ trimSizeWidth?: number; /** * Orientation Check * * @generated from field: preflight.v2.Orientation orientation = 16; */ orientation: Orientation; /** * Bleed Size Check * * @generated from field: double bleed_size_top = 17; */ bleedSizeTop: number; /** * @generated from field: double bleed_size_bottom = 18; */ bleedSizeBottom: number; /** * @generated from field: double bleed_size_left = 19; */ bleedSizeLeft: number; /** * @generated from field: double bleed_size_right = 20; */ bleedSizeRight: number; /** * Safe Zone Check * * @generated from field: double safe_zone_top = 21; */ safeZoneTop: number; /** * @generated from field: double safe_zone_bottom = 22; */ safeZoneBottom: number; /** * @generated from field: double safe_zone_left = 23; */ safeZoneLeft: number; /** * @generated from field: double safe_zone_right = 24; */ safeZoneRight: number; /** * @generated from field: common.v1.MeasurementUnit measurement_unit = 25; */ measurementUnit: MeasurementUnit; /** * @generated from field: int64 preset_template_id = 26; */ presetTemplateId: bigint; /** * @generated from field: preflight.v2.PresetTemplate preset_template = 27; */ presetTemplate?: PresetTemplate; /** * @generated from field: int64 selected_size_preset_id = 28; */ selectedSizePresetId: bigint; /** * @generated from field: preflight.v2.Size selected_size_preset = 29; */ selectedSizePreset?: Size; /** * @generated from field: bool enable_page_count_check = 30; */ enablePageCountCheck: boolean; /** * @generated from field: bool enable_allowed_file_types = 31; */ enableAllowedFileTypes: boolean; /** * @generated from field: bool enable_trim_size_check = 32; */ enableTrimSizeCheck: boolean; /** * @generated from field: bool enable_require_fixed_orientation = 33; */ enableRequireFixedOrientation: boolean; /** * @generated from field: bool enable_bleed_size_check = 34; */ enableBleedSizeCheck: boolean; /** * @generated from field: bool enable_set_safe_zone = 35; */ enableSetSafeZone: boolean; /** * @generated from field: bool enable_image_res_check = 36; */ enableImageResCheck: boolean; /** * Guide reference * * @generated from field: optional int64 guide_id = 37; */ guideId?: bigint; /** * @generated from field: optional preflight.v2.Guide guide = 38; */ guide?: Guide; /** * @generated from field: bool auto_proofing_enabled = 39; */ autoProofingEnabled: boolean; }; /** * Describes the message preflight.v2.PreflightCheckConfig. * Use `create(PreflightCheckConfigSchema)` to create a new message. */ export declare const PreflightCheckConfigSchema: GenMessage; /** * @generated from message preflight.v2.GetAvailableFileTypesRequest */ export type GetAvailableFileTypesRequest = Message<"preflight.v2.GetAvailableFileTypesRequest"> & {}; /** * Describes the message preflight.v2.GetAvailableFileTypesRequest. * Use `create(GetAvailableFileTypesRequestSchema)` to create a new message. */ export declare const GetAvailableFileTypesRequestSchema: GenMessage; /** * @generated from message preflight.v2.GetAvailableFileTypesResponse */ export type GetAvailableFileTypesResponse = Message<"preflight.v2.GetAvailableFileTypesResponse"> & { /** * @generated from field: repeated preflight.v2.FileType filetypes = 1; */ filetypes: FileType[]; }; /** * Describes the message preflight.v2.GetAvailableFileTypesResponse. * Use `create(GetAvailableFileTypesResponseSchema)` to create a new message. */ export declare const GetAvailableFileTypesResponseSchema: GenMessage; /** * @generated from message preflight.v2.SavePreflightCheckConfigRequest */ export type SavePreflightCheckConfigRequest = Message<"preflight.v2.SavePreflightCheckConfigRequest"> & { /** * @generated from field: common.v1.ObjectRef object_ref = 1; */ objectRef?: ObjectRef; /** * @generated from field: preflight.v2.PreflightCheckConfig config = 2; */ config?: PreflightCheckConfig; }; /** * Describes the message preflight.v2.SavePreflightCheckConfigRequest. * Use `create(SavePreflightCheckConfigRequestSchema)` to create a new message. */ export declare const SavePreflightCheckConfigRequestSchema: GenMessage; /** * @generated from message preflight.v2.SavePreflightCheckConfigResponse */ export type SavePreflightCheckConfigResponse = Message<"preflight.v2.SavePreflightCheckConfigResponse"> & { /** * @generated from field: preflight.v2.PreflightCheckConfig config = 1; */ config?: PreflightCheckConfig; }; /** * Describes the message preflight.v2.SavePreflightCheckConfigResponse. * Use `create(SavePreflightCheckConfigResponseSchema)` to create a new message. */ export declare const SavePreflightCheckConfigResponseSchema: GenMessage; /** * @generated from message preflight.v2.GetPreflightCheckConfigRequest */ export type GetPreflightCheckConfigRequest = Message<"preflight.v2.GetPreflightCheckConfigRequest"> & { /** * @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.GetPreflightCheckConfigRequest. * Use `create(GetPreflightCheckConfigRequestSchema)` to create a new message. */ export declare const GetPreflightCheckConfigRequestSchema: GenMessage; /** * @generated from message preflight.v2.GetPreflightCheckConfigResponse */ export type GetPreflightCheckConfigResponse = Message<"preflight.v2.GetPreflightCheckConfigResponse"> & { /** * @generated from field: preflight.v2.PreflightCheckConfig config = 1; */ config?: PreflightCheckConfig; }; /** * Describes the message preflight.v2.GetPreflightCheckConfigResponse. * Use `create(GetPreflightCheckConfigResponseSchema)` to create a new message. */ export declare const GetPreflightCheckConfigResponseSchema: GenMessage;