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 { PreflightCheckConfig } from "./preflight-check-config_pb.js"; /** * @generated from enum preflight.v1.CustomerPreflightState */ export declare enum CustomerPreflightState { /** * @generated from enum value: CustomerPreflightUndefined = 0; */ CustomerPreflightUndefined = 0, /** * @generated from enum value: CustomerPreflightAwaitingArtwork = 1; */ CustomerPreflightAwaitingArtwork = 1, /** * @generated from enum value: CustomerPreflightProcessing = 2; */ CustomerPreflightProcessing = 2, /** * @generated from enum value: CustomerPreflightSuccess = 3; */ CustomerPreflightSuccess = 3, /** * @generated from enum value: CustomerPreflightFailed = 4; */ CustomerPreflightFailed = 4, /** * @generated from enum value: CustomerPreflightCorruptFiles = 6; */ CustomerPreflightCorruptFiles = 6, /** * @generated from enum value: CustomerPreflightCreated = 7; */ CustomerPreflightCreated = 7 } /** * @generated from message preflight.v1.CustomerPreflightSummary */ export declare class CustomerPreflightSummary 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: preflight.v1.CustomerPreflightState state = 6; */ state: CustomerPreflightState; /** * @generated from field: bool preflight_enabled = 7; */ preflightEnabled: boolean; /** * @generated from field: preflight.v1.PreflightCheckConfig preflight_check_config = 8; */ preflightCheckConfig?: PreflightCheckConfig; /** * @generated from field: repeated int64 media_item_ids = 9; */ mediaItemIds: bigint[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v1.CustomerPreflightSummary"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CustomerPreflightSummary; static fromJson(jsonValue: JsonValue, options?: Partial): CustomerPreflightSummary; static fromJsonString(jsonString: string, options?: Partial): CustomerPreflightSummary; static equals(a: CustomerPreflightSummary | PlainMessage | undefined, b: CustomerPreflightSummary | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v1.CustomerPreflightPage */ export declare class CustomerPreflightPage 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; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v1.CustomerPreflightPage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CustomerPreflightPage; static fromJson(jsonValue: JsonValue, options?: Partial): CustomerPreflightPage; static fromJsonString(jsonString: string, options?: Partial): CustomerPreflightPage; static equals(a: CustomerPreflightPage | PlainMessage | undefined, b: CustomerPreflightPage | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v1.StartCustomerPreflightMocks */ export declare class StartCustomerPreflightMocks extends Message { /** * the amount of time the server will mock "processing" the files * * @generated from field: int32 mock_processing_length_seconds = 1; */ mockProcessingLengthSeconds: number; /** * what state the server will respond with * * @generated from field: preflight.v1.CustomerPreflightState mock_resulting_state = 2; */ mockResultingState: CustomerPreflightState; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v1.StartCustomerPreflightMocks"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StartCustomerPreflightMocks; static fromJson(jsonValue: JsonValue, options?: Partial): StartCustomerPreflightMocks; static fromJsonString(jsonString: string, options?: Partial): StartCustomerPreflightMocks; static equals(a: StartCustomerPreflightMocks | PlainMessage | undefined, b: StartCustomerPreflightMocks | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v1.StartCustomerPreflightRequest */ export declare class StartCustomerPreflightRequest extends Message { /** * @generated from field: common.v1.ObjectRef object_ref = 1; */ objectRef?: ObjectRef; /** * @generated from field: int64 supplier_id = 2; */ supplierId: bigint; /** * @generated from field: repeated preflight.v1.StartCustomerPreflightRequest.MediaItemObject media_item_objects = 3; */ mediaItemObjects: StartCustomerPreflightRequest_MediaItemObject[]; /** * if this exists the server will respond with mock results useful for testing flows * * @generated from field: preflight.v1.StartCustomerPreflightMocks mocks = 4; */ mocks?: StartCustomerPreflightMocks; /** * starts a preflight using an existing preflight check config * * @generated from field: optional common.v1.ObjectRef use_existing_preflight_check_config_object_ref = 5; */ useExistingPreflightCheckConfigObjectRef?: ObjectRef; /** * @generated from field: bool build_customer_report = 6; */ buildCustomerReport: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v1.StartCustomerPreflightRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StartCustomerPreflightRequest; static fromJson(jsonValue: JsonValue, options?: Partial): StartCustomerPreflightRequest; static fromJsonString(jsonString: string, options?: Partial): StartCustomerPreflightRequest; static equals(a: StartCustomerPreflightRequest | PlainMessage | undefined, b: StartCustomerPreflightRequest | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v1.StartCustomerPreflightRequest.MediaItemObject */ export declare class StartCustomerPreflightRequest_MediaItemObject extends Message { /** * @generated from field: int64 media_item_id = 1; */ mediaItemId: bigint; /** * @generated from field: int64 pre_fixup_media_item_id = 2; */ preFixupMediaItemId: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v1.StartCustomerPreflightRequest.MediaItemObject"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StartCustomerPreflightRequest_MediaItemObject; static fromJson(jsonValue: JsonValue, options?: Partial): StartCustomerPreflightRequest_MediaItemObject; static fromJsonString(jsonString: string, options?: Partial): StartCustomerPreflightRequest_MediaItemObject; static equals(a: StartCustomerPreflightRequest_MediaItemObject | PlainMessage | undefined, b: StartCustomerPreflightRequest_MediaItemObject | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v1.StartCustomerPreflightResponse */ export declare class StartCustomerPreflightResponse extends Message { /** * @generated from field: preflight.v1.CustomerPreflightSummary summary = 1; */ summary?: CustomerPreflightSummary; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v1.StartCustomerPreflightResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StartCustomerPreflightResponse; static fromJson(jsonValue: JsonValue, options?: Partial): StartCustomerPreflightResponse; static fromJsonString(jsonString: string, options?: Partial): StartCustomerPreflightResponse; static equals(a: StartCustomerPreflightResponse | PlainMessage | undefined, b: StartCustomerPreflightResponse | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v1.GetCustomerPreflightRequest */ export declare class GetCustomerPreflightRequest extends Message { /** * @generated from field: common.v1.ObjectRef object_ref = 1; */ objectRef?: ObjectRef; /** * @generated from field: int64 supplier_id = 2; */ supplierId: bigint; /** * the amount of time the server will mock "processing" the files * * @generated from field: int32 mock_processing_length_seconds = 3; */ mockProcessingLengthSeconds: number; /** * * * @generated from field: preflight.v1.CustomerPreflightState mock_resulting_state = 4; */ mockResultingState: CustomerPreflightState; /** * creates a preflight request first if one doesn't exist * * @generated from field: bool upsert = 5; */ upsert: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v1.GetCustomerPreflightRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetCustomerPreflightRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetCustomerPreflightRequest; static fromJsonString(jsonString: string, options?: Partial): GetCustomerPreflightRequest; static equals(a: GetCustomerPreflightRequest | PlainMessage | undefined, b: GetCustomerPreflightRequest | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v1.GetCustomerPreflightResponse */ export declare class GetCustomerPreflightResponse extends Message { /** * @generated from field: preflight.v1.CustomerPreflightSummary summary = 1; */ summary?: CustomerPreflightSummary; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v1.GetCustomerPreflightResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetCustomerPreflightResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetCustomerPreflightResponse; static fromJsonString(jsonString: string, options?: Partial): GetCustomerPreflightResponse; static equals(a: GetCustomerPreflightResponse | PlainMessage | undefined, b: GetCustomerPreflightResponse | PlainMessage | undefined): boolean; }