import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import type { FormSchema } from "./form_schema_pb.js"; import type { PaginatedQuery, PaginatedResponse } from "../../common/v1/query_pb.js"; import type { Timestamp } from "@bufbuild/protobuf/wkt"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file pdfprofile/v2/pdfprofile.proto. */ export declare const file_pdfprofile_v2_pdfprofile: GenFile; /** * ProfilePlan represents a PDF processing profile plan configuration * * @generated from message pdfprofile.v2.ProfilePlan */ export type ProfilePlan = Message<"pdfprofile.v2.ProfilePlan"> & { /** * Unique identifier * * @generated from field: int64 id = 1; */ id: bigint; /** * Profile name * * @generated from field: string name = 2; */ name: string; /** * Profile description * * @generated from field: string description = 3; */ description: string; /** * Artworker ID (0 means global/shared) * * @generated from field: int64 artworker_id = 4; */ artworkerId: bigint; /** * Complete parameter structure with extended configuration * * @generated from field: pdfprofile.v2.FormSchema form_schema = 5; */ formSchema?: FormSchema; /** * Associated tags * * @generated from field: repeated string tags = 6; */ tags: string[]; /** * Profile type identifier * * @generated from field: string profile_type = 7; */ profileType: string; /** * Profile version * * @generated from field: string version = 8; */ version: string; /** * Whether the profile is active * * @generated from field: bool is_active = 9; */ isActive: boolean; /** * Timestamps * * @generated from field: google.protobuf.Timestamp created_at = 10; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 11; */ updatedAt?: Timestamp; /** * Whether this profile is installed for the requesting artworker * * @generated from field: bool installed = 12; */ installed: boolean; /** * PDF profile process name * * @generated from field: string process_name = 13; */ processName: string; /** * If true, running this profile produces only a report (no output file) * * @generated from field: bool report_only = 14; */ reportOnly: boolean; }; /** * Describes the message pdfprofile.v2.ProfilePlan. * Use `create(ProfilePlanSchema)` to create a new message. */ export declare const ProfilePlanSchema: GenMessage; /** * Tag represents a tag entity * * @generated from message pdfprofile.v2.Tag */ export type Tag = Message<"pdfprofile.v2.Tag"> & { /** * Tag ID * * @generated from field: int64 id = 1; */ id: bigint; /** * Tag name * * @generated from field: string name = 2; */ name: string; /** * Timestamps * * @generated from field: google.protobuf.Timestamp created_at = 3; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 4; */ updatedAt?: Timestamp; }; /** * Describes the message pdfprofile.v2.Tag. * Use `create(TagSchema)` to create a new message. */ export declare const TagSchema: GenMessage; /** * TagInfo represents tag information with usage count * * @generated from message pdfprofile.v2.TagInfo */ export type TagInfo = Message<"pdfprofile.v2.TagInfo"> & { /** * Tag name * * @generated from field: string name = 1; */ name: string; /** * Usage count * * @generated from field: int32 count = 2; */ count: number; }; /** * Describes the message pdfprofile.v2.TagInfo. * Use `create(TagInfoSchema)` to create a new message. */ export declare const TagInfoSchema: GenMessage; /** * @generated from message pdfprofile.v2.GetProfilePlanRequest */ export type GetProfilePlanRequest = Message<"pdfprofile.v2.GetProfilePlanRequest"> & { /** * @generated from field: int64 id = 1; */ id: bigint; /** * @generated from field: int64 artworker_id = 2; */ artworkerId: bigint; }; /** * Describes the message pdfprofile.v2.GetProfilePlanRequest. * Use `create(GetProfilePlanRequestSchema)` to create a new message. */ export declare const GetProfilePlanRequestSchema: GenMessage; /** * @generated from message pdfprofile.v2.GetProfilePlanResponse */ export type GetProfilePlanResponse = Message<"pdfprofile.v2.GetProfilePlanResponse"> & { /** * @generated from field: pdfprofile.v2.ProfilePlan profile_plan = 1; */ profilePlan?: ProfilePlan; }; /** * Describes the message pdfprofile.v2.GetProfilePlanResponse. * Use `create(GetProfilePlanResponseSchema)` to create a new message. */ export declare const GetProfilePlanResponseSchema: GenMessage; /** * @generated from message pdfprofile.v2.ListProfilePlansRequest */ export type ListProfilePlansRequest = Message<"pdfprofile.v2.ListProfilePlansRequest"> & { /** * @generated from field: int64 artworker_id = 1; */ artworkerId: bigint; /** * @generated from field: repeated string tags = 2; */ tags: string[]; /** * "AND" or "OR" * * @generated from field: string tag_operator = 3; */ tagOperator: string; /** * @generated from field: string profile_type = 4; */ profileType: string; /** * Optional filter * * @generated from field: bool is_active = 5; */ isActive: boolean; /** * "all", "global", "artworker" * * @generated from field: string scope = 6; */ scope: string; /** * @generated from field: common.v1.PaginatedQuery pagination = 7; */ pagination?: PaginatedQuery; /** * true = show only installed, false = show only uninstalled, null = show all * * @generated from field: optional bool installed = 8; */ installed?: boolean; }; /** * Describes the message pdfprofile.v2.ListProfilePlansRequest. * Use `create(ListProfilePlansRequestSchema)` to create a new message. */ export declare const ListProfilePlansRequestSchema: GenMessage; /** * @generated from message pdfprofile.v2.ListProfilePlansResponse */ export type ListProfilePlansResponse = Message<"pdfprofile.v2.ListProfilePlansResponse"> & { /** * @generated from field: repeated pdfprofile.v2.ProfilePlan profile_plans = 1; */ profilePlans: ProfilePlan[]; /** * @generated from field: common.v1.PaginatedResponse pagination = 2; */ pagination?: PaginatedResponse; }; /** * Describes the message pdfprofile.v2.ListProfilePlansResponse. * Use `create(ListProfilePlansResponseSchema)` to create a new message. */ export declare const ListProfilePlansResponseSchema: GenMessage; /** * @generated from message pdfprofile.v2.GetTagsRequest */ export type GetTagsRequest = Message<"pdfprofile.v2.GetTagsRequest"> & { /** * @generated from field: int64 artworker_id = 1; */ artworkerId: bigint; }; /** * Describes the message pdfprofile.v2.GetTagsRequest. * Use `create(GetTagsRequestSchema)` to create a new message. */ export declare const GetTagsRequestSchema: GenMessage; /** * @generated from message pdfprofile.v2.GetTagsResponse */ export type GetTagsResponse = Message<"pdfprofile.v2.GetTagsResponse"> & { /** * @generated from field: repeated pdfprofile.v2.TagInfo tags = 1; */ tags: TagInfo[]; }; /** * Describes the message pdfprofile.v2.GetTagsResponse. * Use `create(GetTagsResponseSchema)` to create a new message. */ export declare const GetTagsResponseSchema: GenMessage; /** * @generated from message pdfprofile.v2.InstallPublicProfileRequest */ export type InstallPublicProfileRequest = Message<"pdfprofile.v2.InstallPublicProfileRequest"> & { /** * @generated from field: int64 artworker_id = 1; */ artworkerId: bigint; /** * @generated from field: int64 public_profile_id = 2; */ publicProfileId: bigint; }; /** * Describes the message pdfprofile.v2.InstallPublicProfileRequest. * Use `create(InstallPublicProfileRequestSchema)` to create a new message. */ export declare const InstallPublicProfileRequestSchema: GenMessage; /** * @generated from message pdfprofile.v2.InstallPublicProfileResponse */ export type InstallPublicProfileResponse = Message<"pdfprofile.v2.InstallPublicProfileResponse"> & { /** * @generated from field: string message = 1; */ message: string; }; /** * Describes the message pdfprofile.v2.InstallPublicProfileResponse. * Use `create(InstallPublicProfileResponseSchema)` to create a new message. */ export declare const InstallPublicProfileResponseSchema: GenMessage; /** * @generated from message pdfprofile.v2.UninstallProfileRequest */ export type UninstallProfileRequest = Message<"pdfprofile.v2.UninstallProfileRequest"> & { /** * @generated from field: int64 artworker_id = 1; */ artworkerId: bigint; /** * @generated from field: int64 public_profile_id = 2; */ publicProfileId: bigint; }; /** * Describes the message pdfprofile.v2.UninstallProfileRequest. * Use `create(UninstallProfileRequestSchema)` to create a new message. */ export declare const UninstallProfileRequestSchema: GenMessage; /** * @generated from message pdfprofile.v2.UninstallProfileResponse */ export type UninstallProfileResponse = Message<"pdfprofile.v2.UninstallProfileResponse"> & { /** * @generated from field: string message = 1; */ message: string; }; /** * Describes the message pdfprofile.v2.UninstallProfileResponse. * Use `create(UninstallProfileResponseSchema)` to create a new message. */ export declare const UninstallProfileResponseSchema: GenMessage; /** * @generated from message pdfprofile.v2.GetInstallationStatusRequest */ export type GetInstallationStatusRequest = Message<"pdfprofile.v2.GetInstallationStatusRequest"> & { /** * @generated from field: int64 artworker_id = 1; */ artworkerId: bigint; }; /** * Describes the message pdfprofile.v2.GetInstallationStatusRequest. * Use `create(GetInstallationStatusRequestSchema)` to create a new message. */ export declare const GetInstallationStatusRequestSchema: GenMessage; /** * @generated from message pdfprofile.v2.InstallationInfo */ export type InstallationInfo = Message<"pdfprofile.v2.InstallationInfo"> & { /** * @generated from field: int64 profile_id = 1; */ profileId: bigint; /** * @generated from field: google.protobuf.Timestamp installed_at = 2; */ installedAt?: Timestamp; }; /** * Describes the message pdfprofile.v2.InstallationInfo. * Use `create(InstallationInfoSchema)` to create a new message. */ export declare const InstallationInfoSchema: GenMessage; /** * @generated from message pdfprofile.v2.GetInstallationStatusResponse */ export type GetInstallationStatusResponse = Message<"pdfprofile.v2.GetInstallationStatusResponse"> & { /** * @generated from field: repeated pdfprofile.v2.InstallationInfo installations = 1; */ installations: InstallationInfo[]; }; /** * Describes the message pdfprofile.v2.GetInstallationStatusResponse. * Use `create(GetInstallationStatusResponseSchema)` to create a new message. */ export declare const GetInstallationStatusResponseSchema: GenMessage; /** * Service definition for ProfilePlan operations * * @generated from service pdfprofile.v2.ProfilePlanService */ export declare const ProfilePlanService: GenService<{ /** * Get a profile plan by ID * * @generated from rpc pdfprofile.v2.ProfilePlanService.GetProfilePlan */ getProfilePlan: { methodKind: "unary"; input: typeof GetProfilePlanRequestSchema; output: typeof GetProfilePlanResponseSchema; }; /** * List profile plans with filtering * * @generated from rpc pdfprofile.v2.ProfilePlanService.ListProfilePlans */ listProfilePlans: { methodKind: "unary"; input: typeof ListProfilePlansRequestSchema; output: typeof ListProfilePlansResponseSchema; }; /** * Get available tags with usage counts * * @generated from rpc pdfprofile.v2.ProfilePlanService.GetTags */ getTags: { methodKind: "unary"; input: typeof GetTagsRequestSchema; output: typeof GetTagsResponseSchema; }; /** * Install a public profile * * @generated from rpc pdfprofile.v2.ProfilePlanService.InstallPublicProfile */ installPublicProfile: { methodKind: "unary"; input: typeof InstallPublicProfileRequestSchema; output: typeof InstallPublicProfileResponseSchema; }; /** * Uninstall a profile * * @generated from rpc pdfprofile.v2.ProfilePlanService.UninstallProfile */ uninstallProfile: { methodKind: "unary"; input: typeof UninstallProfileRequestSchema; output: typeof UninstallProfileResponseSchema; }; /** * Get installation status * * @generated from rpc pdfprofile.v2.ProfilePlanService.GetInstallationStatus */ getInstallationStatus: { methodKind: "unary"; input: typeof GetInstallationStatusRequestSchema; output: typeof GetInstallationStatusResponseSchema; }; }>;