// @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js" // @generated from file preflight/v1/preflight-check-config.proto (package preflight.v1, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; import type { Timestamp } from "@bufbuild/protobuf/wkt"; import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; 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 { MeasurementUnit } from "../../common/v1/unit_pb.js"; import { file_common_v1_unit } from "../../common/v1/unit_pb.js"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file preflight/v1/preflight-check-config.proto. */ export const file_preflight_v1_preflight_check_config: GenFile = /*@__PURE__*/ fileDesc("CilwcmVmbGlnaHQvdjEvcHJlZmxpZ2h0LWNoZWNrLWNvbmZpZy5wcm90bxIMcHJlZmxpZ2h0LnYxIqwBCghGaWxlVHlwZRIKCgJpZBgBIAEoAxIuCgpjcmVhdGVkX2F0GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIMCgRuYW1lGAQgASgJEhIKCmV4dGVuc2lvbnMYBSADKAkSEgoKbWltZV90eXBlcxgGIAMoCSKGBAoUUHJlZmxpZ2h0Q2hlY2tDb25maWcSCgoCaWQYASABKAMSLgoKY3JlYXRlZF9hdBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASKAoKb2JqZWN0X3JlZhgEIAEoCzIULmNvbW1vbi52MS5PYmplY3RSZWYSEwoLc3VwcGxpZXJfaWQYBSABKAMSFQoNaW1hZ2VfcmVzX21pbhgGIAEoBRIdChVpb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RvdWsvYXJ0d29ya2VyLWJhY2tlbmQvcHJvdG8vZ2VuL2dvL3ByZWZsaWdodC92MTtwcmVmbGlnaHR2MWIGcHJvdG8z", [file_google_protobuf_timestamp, file_common_v1_object_ref, file_common_v1_unit]); /** * @generated from message preflight.v1.FileType */ export type FileType = Message<"preflight.v1.FileType"> & { /** * @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[]; }; /** * Describes the message preflight.v1.FileType. * Use `create(FileTypeSchema)` to create a new message. */ export const FileTypeSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight_check_config, 0); /** * @generated from message preflight.v1.PreflightCheckConfig */ export type PreflightCheckConfig = Message<"preflight.v1.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; /** * @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; }; /** * Describes the message preflight.v1.PreflightCheckConfig. * Use `create(PreflightCheckConfigSchema)` to create a new message. */ export const PreflightCheckConfigSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight_check_config, 1); /** * @generated from message preflight.v1.GetAvailableFileTypesRequest */ export type GetAvailableFileTypesRequest = Message<"preflight.v1.GetAvailableFileTypesRequest"> & { }; /** * Describes the message preflight.v1.GetAvailableFileTypesRequest. * Use `create(GetAvailableFileTypesRequestSchema)` to create a new message. */ export const GetAvailableFileTypesRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight_check_config, 2); /** * @generated from message preflight.v1.GetAvailableFileTypesResponse */ export type GetAvailableFileTypesResponse = Message<"preflight.v1.GetAvailableFileTypesResponse"> & { /** * @generated from field: repeated preflight.v1.FileType filetypes = 1; */ filetypes: FileType[]; }; /** * Describes the message preflight.v1.GetAvailableFileTypesResponse. * Use `create(GetAvailableFileTypesResponseSchema)` to create a new message. */ export const GetAvailableFileTypesResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight_check_config, 3); /** * @generated from message preflight.v1.SavePreflightCheckConfigRequest */ export type SavePreflightCheckConfigRequest = Message<"preflight.v1.SavePreflightCheckConfigRequest"> & { /** * @generated from field: common.v1.ObjectRef object_ref = 1; */ objectRef?: ObjectRef; /** * @generated from field: preflight.v1.PreflightCheckConfig config = 2; */ config?: PreflightCheckConfig; }; /** * Describes the message preflight.v1.SavePreflightCheckConfigRequest. * Use `create(SavePreflightCheckConfigRequestSchema)` to create a new message. */ export const SavePreflightCheckConfigRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight_check_config, 4); /** * @generated from message preflight.v1.SavePreflightCheckConfigResponse */ export type SavePreflightCheckConfigResponse = Message<"preflight.v1.SavePreflightCheckConfigResponse"> & { /** * @generated from field: preflight.v1.PreflightCheckConfig config = 1; */ config?: PreflightCheckConfig; }; /** * Describes the message preflight.v1.SavePreflightCheckConfigResponse. * Use `create(SavePreflightCheckConfigResponseSchema)` to create a new message. */ export const SavePreflightCheckConfigResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight_check_config, 5); /** * @generated from message preflight.v1.GetPreflightCheckConfigRequest */ export type GetPreflightCheckConfigRequest = Message<"preflight.v1.GetPreflightCheckConfigRequest"> & { /** * @generated from field: common.v1.ObjectRef object_ref = 1; */ objectRef?: ObjectRef; }; /** * Describes the message preflight.v1.GetPreflightCheckConfigRequest. * Use `create(GetPreflightCheckConfigRequestSchema)` to create a new message. */ export const GetPreflightCheckConfigRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight_check_config, 6); /** * @generated from message preflight.v1.GetPreflightCheckConfigResponse */ export type GetPreflightCheckConfigResponse = Message<"preflight.v1.GetPreflightCheckConfigResponse"> & { /** * @generated from field: preflight.v1.PreflightCheckConfig config = 1; */ config?: PreflightCheckConfig; }; /** * Describes the message preflight.v1.GetPreflightCheckConfigResponse. * Use `create(GetPreflightCheckConfigResponseSchema)` to create a new message. */ export const GetPreflightCheckConfigResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight_check_config, 7);