import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3, Timestamp } from "@bufbuild/protobuf"; import { ObjectRef } from "../../common/v1/object-ref_pb.js"; import { FileType, Orientation, PresetTemplate } from "./preset-template_pb.js"; import { MeasurementUnit } from "../../common/v1/unit_pb.js"; import { Size } from "./size_pb.js"; import { Guide } from "./guide_pb.js"; /** * @generated from message preflight.v2.PreflightCheckConfig */ export declare class PreflightCheckConfig extends Message { /** * @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; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.PreflightCheckConfig"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PreflightCheckConfig; static fromJson(jsonValue: JsonValue, options?: Partial): PreflightCheckConfig; static fromJsonString(jsonString: string, options?: Partial): PreflightCheckConfig; static equals(a: PreflightCheckConfig | PlainMessage | undefined, b: PreflightCheckConfig | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.GetAvailableFileTypesRequest */ export declare class GetAvailableFileTypesRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.GetAvailableFileTypesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetAvailableFileTypesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetAvailableFileTypesRequest; static fromJsonString(jsonString: string, options?: Partial): GetAvailableFileTypesRequest; static equals(a: GetAvailableFileTypesRequest | PlainMessage | undefined, b: GetAvailableFileTypesRequest | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.GetAvailableFileTypesResponse */ export declare class GetAvailableFileTypesResponse extends Message { /** * @generated from field: repeated preflight.v2.FileType filetypes = 1; */ filetypes: FileType[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.GetAvailableFileTypesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetAvailableFileTypesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetAvailableFileTypesResponse; static fromJsonString(jsonString: string, options?: Partial): GetAvailableFileTypesResponse; static equals(a: GetAvailableFileTypesResponse | PlainMessage | undefined, b: GetAvailableFileTypesResponse | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.SavePreflightCheckConfigRequest */ export declare class SavePreflightCheckConfigRequest extends Message { /** * @generated from field: common.v1.ObjectRef object_ref = 1; */ objectRef?: ObjectRef; /** * @generated from field: preflight.v2.PreflightCheckConfig config = 2; */ config?: PreflightCheckConfig; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.SavePreflightCheckConfigRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SavePreflightCheckConfigRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SavePreflightCheckConfigRequest; static fromJsonString(jsonString: string, options?: Partial): SavePreflightCheckConfigRequest; static equals(a: SavePreflightCheckConfigRequest | PlainMessage | undefined, b: SavePreflightCheckConfigRequest | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.SavePreflightCheckConfigResponse */ export declare class SavePreflightCheckConfigResponse extends Message { /** * @generated from field: preflight.v2.PreflightCheckConfig config = 1; */ config?: PreflightCheckConfig; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.SavePreflightCheckConfigResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SavePreflightCheckConfigResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SavePreflightCheckConfigResponse; static fromJsonString(jsonString: string, options?: Partial): SavePreflightCheckConfigResponse; static equals(a: SavePreflightCheckConfigResponse | PlainMessage | undefined, b: SavePreflightCheckConfigResponse | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.GetPreflightCheckConfigRequest */ export declare class GetPreflightCheckConfigRequest extends Message { /** * @generated from field: common.v1.ObjectRef object_ref = 1; */ objectRef?: ObjectRef; /** * @generated from field: int64 artworker_id = 2; */ artworkerId: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.GetPreflightCheckConfigRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetPreflightCheckConfigRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetPreflightCheckConfigRequest; static fromJsonString(jsonString: string, options?: Partial): GetPreflightCheckConfigRequest; static equals(a: GetPreflightCheckConfigRequest | PlainMessage | undefined, b: GetPreflightCheckConfigRequest | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.GetPreflightCheckConfigResponse */ export declare class GetPreflightCheckConfigResponse extends Message { /** * @generated from field: preflight.v2.PreflightCheckConfig config = 1; */ config?: PreflightCheckConfig; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.GetPreflightCheckConfigResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetPreflightCheckConfigResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetPreflightCheckConfigResponse; static fromJsonString(jsonString: string, options?: Partial): GetPreflightCheckConfigResponse; static equals(a: GetPreflightCheckConfigResponse | PlainMessage | undefined, b: GetPreflightCheckConfigResponse | PlainMessage | undefined): boolean; }