// @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js" // @generated from file pdfprofile/v2/pdfprofile.proto (package pdfprofile.v2, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; import type { FormSchema } from "./form_schema_pb.js"; import { file_pdfprofile_v2_form_schema } from "./form_schema_pb.js"; import type { PaginatedQuery, PaginatedResponse } from "../../common/v1/query_pb.js"; import { file_common_v1_query } from "../../common/v1/query_pb.js"; import type { Timestamp } from "@bufbuild/protobuf/wkt"; import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file pdfprofile/v2/pdfprofile.proto. */ export const file_pdfprofile_v2_pdfprofile: GenFile = /*@__PURE__*/ fileDesc("Ch5wZGZwcm9maWxlL3YyL3BkZnByb2ZpbGUucHJvdG8SDXBkZnByb2ZpbGUudjIi6AIKC1Byb2ZpbGVQbGFuEgoKAmlkGAEgASgDEgwKBG5hbWUYAiABKAkSEwoLZGVzY3JpcHRpb24YAyABKAkSFAoMYXJ0d29ya2VyX2lkGAQgASgDEi4KC2Zvcm1fc2NoZW1hGAUgASgLMhkucGRmcHJvZmlsZS52Mi5Gb3JtU2NoZW1hEgwKBHRhZ3MYBiADKAkSFAoMcHJvZmlsZV90eXBlGAcgASgJEg8KB3ZlcnNpb24YCCABKAkSEQoJaXNfYWN0aXZlGAkgASgIEi4KCmNyZWF0ZWRfYXQYCiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCnVwZGF0ZWRfYXQYCyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhEKCWluc3RhbGxlZBgMIAEoCBIUCgxwcm9jZXNzX25hbWUYDSABKAkSEwoLcmVwb3J0X29ubHkYDiABKAgifwoDVGFnEgoKAmlkGAEgASgDEgwKBG5hbWUYAi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GFsbFB1YmxpY1Byb2ZpbGVSZXNwb25zZRJjChBVbmluc3RhbGxQcm9maWxlEiYucGRmcHJvZmlsZS52Mi5Vbmluc3RhbGxQcm9maWxlUmVxdWVzdBonLnBkZnByb2ZpbGUudjIuVW5pbnN0YWxsUHJvZmlsZVJlc3BvbnNlEnIKFUdldEluc3RhbGxhdGlvblN0YXR1cxIrLnBkZnByb2ZpbGUudjIuR2V0SW5zdGFsbGF0aW9uU3RhdHVzUmVxdWVzdBosLnBkZnByb2ZpbGUudjIuR2V0SW5zdGFsbGF0aW9uU3RhdHVzUmVzcG9uc2VCQ1pBYml0YnVja2V0Lm9yZy9rdWRvdWsvYXJ0d29ya2VyLWJhY2tlbmQvcHJvdG8vZ2VuL2dvL3BkZnByb2ZpbGUvdjJiBnByb3RvMw", [file_pdfprofile_v2_form_schema, file_common_v1_query, file_google_protobuf_struct, file_google_protobuf_timestamp]); /** * 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 const ProfilePlanSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_pdfprofile, 0); /** * 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 const TagSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_pdfprofile, 1); /** * 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 const TagInfoSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_pdfprofile, 2); /** * @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 const GetProfilePlanRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_pdfprofile, 3); /** * @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 const GetProfilePlanResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_pdfprofile, 4); /** * @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 const ListProfilePlansRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_pdfprofile, 5); /** * @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 const ListProfilePlansResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_pdfprofile, 6); /** * @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 const GetTagsRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_pdfprofile, 7); /** * @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 const GetTagsResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_pdfprofile, 8); /** * @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 const InstallPublicProfileRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_pdfprofile, 9); /** * @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 const InstallPublicProfileResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_pdfprofile, 10); /** * @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 const UninstallProfileRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_pdfprofile, 11); /** * @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 const UninstallProfileResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_pdfprofile, 12); /** * @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 const GetInstallationStatusRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_pdfprofile, 13); /** * @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 const InstallationInfoSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_pdfprofile, 14); /** * @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 const GetInstallationStatusResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_pdfprofile, 15); /** * Service definition for ProfilePlan operations * * @generated from service pdfprofile.v2.ProfilePlanService */ export 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; }, }> = /*@__PURE__*/ serviceDesc(file_pdfprofile_v2_pdfprofile, 0);