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 { MeasurementUnit } from "../../common/v1/unit_pb.js"; /** * @generated from message preflight.v1.FileType */ export declare class FileType 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: string name = 4; */ name: string; /** * @generated from field: repeated string extensions = 5; */ extensions: string[]; /** * @generated from field: repeated string mime_types = 6; */ mimeTypes: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v1.FileType"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FileType; static fromJson(jsonValue: JsonValue, options?: Partial): FileType; static fromJsonString(jsonString: string, options?: Partial): FileType; static equals(a: FileType | PlainMessage | undefined, b: FileType | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v1.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; /** * @generated from field: int32 image_res_min = 6; */ imageResMin: number; /** * @generated from field: int32 image_res_recommended = 7; */ imageResRecommended: number; /** * @generated from field: repeated preflight.v1.FileType allowed_file_types = 8; */ allowedFileTypes: FileType[]; /** * @generated from field: bool require_embedded_fonts = 9; */ requireEmbeddedFonts: boolean; /** * @generated from field: bool enabled = 10; */ enabled: boolean; /** * @generated from field: int32 page_count = 11; */ pageCount: number; /** * @generated from field: bool visible_to_customer = 12; */ visibleToCustomer: boolean; /** * @generated from field: double height = 14; */ height: number; /** * @generated from field: double width = 16; */ width: number; /** * @generated from field: double bleed = 18; */ bleed: number; /** * @generated from field: double safety_zone = 20; */ safetyZone: number; /** * @generated from field: common.v1.MeasurementUnit measurement_unit = 21; */ measurementUnit: MeasurementUnit; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v1.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.v1.GetAvailableFileTypesRequest */ export declare class GetAvailableFileTypesRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v1.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.v1.GetAvailableFileTypesResponse */ export declare class GetAvailableFileTypesResponse extends Message { /** * @generated from field: repeated preflight.v1.FileType filetypes = 1; */ filetypes: FileType[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v1.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.v1.SavePreflightCheckConfigRequest */ export declare class SavePreflightCheckConfigRequest extends Message { /** * @generated from field: common.v1.ObjectRef object_ref = 1; */ objectRef?: ObjectRef; /** * @generated from field: preflight.v1.PreflightCheckConfig config = 2; */ config?: PreflightCheckConfig; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v1.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.v1.SavePreflightCheckConfigResponse */ export declare class SavePreflightCheckConfigResponse extends Message { /** * @generated from field: preflight.v1.PreflightCheckConfig config = 1; */ config?: PreflightCheckConfig; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v1.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.v1.GetPreflightCheckConfigRequest */ export declare class GetPreflightCheckConfigRequest extends Message { /** * @generated from field: common.v1.ObjectRef object_ref = 1; */ objectRef?: ObjectRef; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v1.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.v1.GetPreflightCheckConfigResponse */ export declare class GetPreflightCheckConfigResponse extends Message { /** * @generated from field: preflight.v1.PreflightCheckConfig config = 1; */ config?: PreflightCheckConfig; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v1.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; }