import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3, Struct, Timestamp, Value } from "@bufbuild/protobuf"; import { FormSchema } from "./form_schema_pb.js"; /** * Process represents a reusable PDF processing configuration * * @generated from message pdfprofile.v2.Process */ export declare class Process extends Message { /** * Unique identifier * * @generated from field: int64 id = 1; */ id: bigint; /** * Process name * * @generated from field: string name = 2; */ name: string; /** * Process description * * @generated from field: string description = 3; */ description: string; /** * Form schema for process parameters * * @generated from field: pdfprofile.v2.FormSchema form_schema = 4; */ formSchema?: FormSchema; /** * PDF profile process name (kfpx file) * * @generated from field: string process_name = 5; */ processName: string; /** * Timestamps * * @generated from field: google.protobuf.Timestamp created_at = 6; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 7; */ updatedAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "pdfprofile.v2.Process"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Process; static fromJson(jsonValue: JsonValue, options?: Partial): Process; static fromJsonString(jsonString: string, options?: Partial): Process; static equals(a: Process | PlainMessage | undefined, b: Process | PlainMessage | undefined): boolean; } /** * ProcessCondition represents a condition for selecting a process * * @generated from message pdfprofile.v2.ProcessCondition */ export declare class ProcessCondition extends Message { /** * Field name from the selector form * * @generated from field: string field = 1; */ field: string; /** * Comparison operator: "equals", "gt", "lt", "gte", "lte", "in", "not_equals" * * @generated from field: string operator = 2; */ operator: string; /** * Value to compare against * * @generated from field: google.protobuf.Value value = 3; */ value?: Value; /** * Logical operator for combining with sub-conditions: "AND" or "OR" * * @generated from field: string logical_operator = 4; */ logicalOperator: string; /** * Sub-conditions for complex boolean expressions * * @generated from field: repeated pdfprofile.v2.ProcessCondition sub_conditions = 5; */ subConditions: ProcessCondition[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "pdfprofile.v2.ProcessCondition"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ProcessCondition; static fromJson(jsonValue: JsonValue, options?: Partial): ProcessCondition; static fromJsonString(jsonString: string, options?: Partial): ProcessCondition; static equals(a: ProcessCondition | PlainMessage | undefined, b: ProcessCondition | PlainMessage | undefined): boolean; } /** * ProfilePlanProcess represents the association between a ProfilePlan and a Process * * @generated from message pdfprofile.v2.ProfilePlanProcess */ export declare class ProfilePlanProcess extends Message { /** * Unique identifier * * @generated from field: int64 id = 1; */ id: bigint; /** * Associated process * * @generated from field: pdfprofile.v2.Process process = 2; */ process?: Process; /** * Conditions for selecting this process (nullable for single-process plans) * * @generated from field: pdfprofile.v2.ProcessCondition conditions = 3; */ conditions?: ProcessCondition; /** * Display order * * @generated from field: int32 display_order = 4; */ displayOrder: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "pdfprofile.v2.ProfilePlanProcess"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ProfilePlanProcess; static fromJson(jsonValue: JsonValue, options?: Partial): ProfilePlanProcess; static fromJsonString(jsonString: string, options?: Partial): ProfilePlanProcess; static equals(a: ProfilePlanProcess | PlainMessage | undefined, b: ProfilePlanProcess | PlainMessage | undefined): boolean; } /** * @generated from message pdfprofile.v2.CreateProcessRequest */ export declare class CreateProcessRequest extends Message { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: string description = 2; */ description: string; /** * @generated from field: pdfprofile.v2.FormSchema form_schema = 3; */ formSchema?: FormSchema; /** * @generated from field: string process_name = 4; */ processName: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "pdfprofile.v2.CreateProcessRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateProcessRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CreateProcessRequest; static fromJsonString(jsonString: string, options?: Partial): CreateProcessRequest; static equals(a: CreateProcessRequest | PlainMessage | undefined, b: CreateProcessRequest | PlainMessage | undefined): boolean; } /** * @generated from message pdfprofile.v2.CreateProcessResponse */ export declare class CreateProcessResponse extends Message { /** * @generated from field: pdfprofile.v2.Process process = 1; */ process?: Process; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "pdfprofile.v2.CreateProcessResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateProcessResponse; static fromJson(jsonValue: JsonValue, options?: Partial): CreateProcessResponse; static fromJsonString(jsonString: string, options?: Partial): CreateProcessResponse; static equals(a: CreateProcessResponse | PlainMessage | undefined, b: CreateProcessResponse | PlainMessage | undefined): boolean; } /** * @generated from message pdfprofile.v2.GetProcessRequest */ export declare class GetProcessRequest extends Message { /** * @generated from field: int64 id = 1; */ id: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "pdfprofile.v2.GetProcessRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetProcessRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetProcessRequest; static fromJsonString(jsonString: string, options?: Partial): GetProcessRequest; static equals(a: GetProcessRequest | PlainMessage | undefined, b: GetProcessRequest | PlainMessage | undefined): boolean; } /** * @generated from message pdfprofile.v2.GetProcessResponse */ export declare class GetProcessResponse extends Message { /** * @generated from field: pdfprofile.v2.Process process = 1; */ process?: Process; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "pdfprofile.v2.GetProcessResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetProcessResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetProcessResponse; static fromJsonString(jsonString: string, options?: Partial): GetProcessResponse; static equals(a: GetProcessResponse | PlainMessage | undefined, b: GetProcessResponse | PlainMessage | undefined): boolean; } /** * @generated from message pdfprofile.v2.ListProcessesRequest */ export declare class ListProcessesRequest extends Message { /** * @generated from field: int32 page = 1; */ page: number; /** * @generated from field: int32 limit = 2; */ limit: number; /** * @generated from field: string search = 3; */ search: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "pdfprofile.v2.ListProcessesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListProcessesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListProcessesRequest; static fromJsonString(jsonString: string, options?: Partial): ListProcessesRequest; static equals(a: ListProcessesRequest | PlainMessage | undefined, b: ListProcessesRequest | PlainMessage | undefined): boolean; } /** * @generated from message pdfprofile.v2.ListProcessesResponse */ export declare class ListProcessesResponse extends Message { /** * @generated from field: repeated pdfprofile.v2.Process processes = 1; */ processes: Process[]; /** * @generated from field: int64 total = 2; */ total: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "pdfprofile.v2.ListProcessesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListProcessesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListProcessesResponse; static fromJsonString(jsonString: string, options?: Partial): ListProcessesResponse; static equals(a: ListProcessesResponse | PlainMessage | undefined, b: ListProcessesResponse | PlainMessage | undefined): boolean; } /** * @generated from message pdfprofile.v2.UpdateProcessRequest */ export declare class UpdateProcessRequest extends Message { /** * @generated from field: int64 id = 1; */ id: bigint; /** * @generated from field: string name = 2; */ name: string; /** * @generated from field: string description = 3; */ description: string; /** * @generated from field: pdfprofile.v2.FormSchema form_schema = 4; */ formSchema?: FormSchema; /** * @generated from field: string process_name = 5; */ processName: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "pdfprofile.v2.UpdateProcessRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateProcessRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateProcessRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateProcessRequest; static equals(a: UpdateProcessRequest | PlainMessage | undefined, b: UpdateProcessRequest | PlainMessage | undefined): boolean; } /** * @generated from message pdfprofile.v2.UpdateProcessResponse */ export declare class UpdateProcessResponse extends Message { /** * @generated from field: pdfprofile.v2.Process process = 1; */ process?: Process; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "pdfprofile.v2.UpdateProcessResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateProcessResponse; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateProcessResponse; static fromJsonString(jsonString: string, options?: Partial): UpdateProcessResponse; static equals(a: UpdateProcessResponse | PlainMessage | undefined, b: UpdateProcessResponse | PlainMessage | undefined): boolean; } /** * @generated from message pdfprofile.v2.DeleteProcessRequest */ export declare class DeleteProcessRequest extends Message { /** * @generated from field: int64 id = 1; */ id: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "pdfprofile.v2.DeleteProcessRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteProcessRequest; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteProcessRequest; static fromJsonString(jsonString: string, options?: Partial): DeleteProcessRequest; static equals(a: DeleteProcessRequest | PlainMessage | undefined, b: DeleteProcessRequest | PlainMessage | undefined): boolean; } /** * @generated from message pdfprofile.v2.DeleteProcessResponse */ export declare class DeleteProcessResponse extends Message { /** * @generated from field: string message = 1; */ message: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "pdfprofile.v2.DeleteProcessResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteProcessResponse; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteProcessResponse; static fromJsonString(jsonString: string, options?: Partial): DeleteProcessResponse; static equals(a: DeleteProcessResponse | PlainMessage | undefined, b: DeleteProcessResponse | PlainMessage | undefined): boolean; } /** * ResolveProcess determines which process to use based on selector values * * @generated from message pdfprofile.v2.ResolveProcessRequest */ export declare class ResolveProcessRequest extends Message { /** * @generated from field: int64 profile_plan_id = 1; */ profilePlanId: bigint; /** * @generated from field: google.protobuf.Struct selector_values = 2; */ selectorValues?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "pdfprofile.v2.ResolveProcessRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ResolveProcessRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ResolveProcessRequest; static fromJsonString(jsonString: string, options?: Partial): ResolveProcessRequest; static equals(a: ResolveProcessRequest | PlainMessage | undefined, b: ResolveProcessRequest | PlainMessage | undefined): boolean; } /** * @generated from message pdfprofile.v2.ResolveProcessResponse */ export declare class ResolveProcessResponse extends Message { /** * @generated from field: pdfprofile.v2.Process process = 1; */ process?: Process; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "pdfprofile.v2.ResolveProcessResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ResolveProcessResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ResolveProcessResponse; static fromJsonString(jsonString: string, options?: Partial): ResolveProcessResponse; static equals(a: ResolveProcessResponse | PlainMessage | undefined, b: ResolveProcessResponse | PlainMessage | undefined): boolean; }