// @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js" // @generated from file artworking/v1/imagetask.proto (package artworking.v1, syntax proto3) /* eslint-disable */ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; import type { DielineAnalyserParams } from "./dielineanalyser_pb.js"; import { file_artworking_v1_dielineanalyser } from "./dielineanalyser_pb.js"; import type { ConversionParams } from "./fileconversion_pb.js"; import { file_artworking_v1_fileconversion } from "./fileconversion_pb.js"; import type { FixupParams } from "./fixup_pb.js"; import { file_artworking_v1_fixup } from "./fixup_pb.js"; import type { UpscaleParams } from "./upscale_pb.js"; import { file_artworking_v1_upscale } from "./upscale_pb.js"; import type { CompleteVectorisationParams, CreateVectorisePreviewParams } from "./vectorisation_pb.js"; import { file_artworking_v1_vectorisation } from "./vectorisation_pb.js"; import type { QuickfixesParams } from "./quickfixes_pb.js"; import { file_artworking_v1_quickfixes } from "./quickfixes_pb.js"; import type { GeneralProfileRunnerParams } from "./generalprofilerunner_pb.js"; import { file_artworking_v1_generalprofilerunner } from "./generalprofilerunner_pb.js"; import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file artworking/v1/imagetask.proto. */ export const file_artworking_v1_imagetask: GenFile = /*@__PURE__*/ fileDesc("Ch1hcnR3b3JraW5nL3YxL2ltYWdldGFzay5wcm90bxINYXJ0d29ya2luZy52MSLNBgoPSW1hZ2VUYXNrQWN0aW9uEioKBHR5cGUYASABKA4yHC5hcnR3b3JraW5nLnYxLkltYWdlVGFza1R5cGUSGQoRZXhlY3V0aW9uX3BsYW5faWQYAiABKAQSHAoUb3V0cHV0X21lZGlhX2l0ZW1faWQYAyABKAMSFQoNZXJyb3JfbWVzc2FnZRgEIAEoCRIUCgxjcmVkaXRzX3VzZWQYBSABKAMSPAoHcmVzdWx0cxgKIAMoCzIrLmFydHdvcmtpbmcudj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X1RBU0tfVFlQRV9WRUNUT1JJU0VfQ09NUExFVEUQBBIbChdJTUFHRV9UQVNLX1RZUEVfVVBTQ0FMRRAFEh4KGklNQUdFX1RBU0tfVFlQRV9RVUlDS0ZJWEVTEAYSKgomSU1BR0VfVEFTS19UWVBFX0dFTkVSQUxfUFJPRklMRV9SVU5ORVIQBxIkCiBJTUFHRV9UQVNLX1RZUEVfRElFTElORV9BTkFMWVNFUhAIEicKI0lNQUdFX1RBU0tfVFlQRV9SRVBPUlRfT05MWV9QUk9GSUxFEAlCUFpOYml0YnVja2V0Lm9yZy9rdWRvdWsvYXJ0d29ya2VyLWJhY2tlbmQvcHJvdG8vZ2VuL2dvL2FydHdvcmtpbmcvdjE7YXJ0d29ya2luZ3YxYgZwcm90bzM", [file_artworking_v1_dielineanalyser, file_artworking_v1_fileconversion, file_artworking_v1_fixup, file_artworking_v1_upscale, file_artworking_v1_vectorisation, file_artworking_v1_quickfixes, file_artworking_v1_generalprofilerunner, file_google_protobuf_struct]); /** * @generated from message artworking.v1.ImageTaskAction */ export type ImageTaskAction = Message<"artworking.v1.ImageTaskAction"> & { /** * @generated from field: artworking.v1.ImageTaskType type = 1; */ type: ImageTaskType; /** * @generated from field: uint64 execution_plan_id = 2; */ executionPlanId: bigint; /** * @generated from field: int64 output_media_item_id = 3; */ outputMediaItemId: bigint; /** * @generated from field: string error_message = 4; */ errorMessage: string; /** * @generated from field: int64 credits_used = 5; */ creditsUsed: bigint; /** * @generated from field: map results = 10; */ results: { [key: string]: string }; /** * @generated from oneof artworking.v1.ImageTaskAction.params */ params: { /** * @generated from field: artworking.v1.ConversionParams conversion_params = 6; */ value: ConversionParams; case: "conversionParams"; } | { /** * @generated from field: artworking.v1.FixupParams fixup_params = 7; */ value: FixupParams; case: "fixupParams"; } | { /** * @generated from field: artworking.v1.CreateVectorisePreviewParams create_vectorise_preview_params = 8; */ value: CreateVectorisePreviewParams; case: "createVectorisePreviewParams"; } | { /** * @generated from field: artworking.v1.CompleteVectorisationParams complete_vectorisation_params = 9; */ value: CompleteVectorisationParams; case: "completeVectorisationParams"; } | { /** * @generated from field: artworking.v1.UpscaleParams upscale_params = 11; */ value: UpscaleParams; case: "upscaleParams"; } | { /** * @generated from field: artworking.v1.QuickfixesParams quickfixes_params = 12; */ value: QuickfixesParams; case: "quickfixesParams"; } | { /** * @generated from field: artworking.v1.GeneralProfileRunnerParams general_profile_runner_params = 13; */ value: GeneralProfileRunnerParams; case: "generalProfileRunnerParams"; } | { /** * @generated from field: artworking.v1.DielineAnalyserParams dieline_analyser_params = 14; */ value: DielineAnalyserParams; case: "dielineAnalyserParams"; } | { case: undefined; value?: undefined }; }; /** * Describes the message artworking.v1.ImageTaskAction. * Use `create(ImageTaskActionSchema)` to create a new message. */ export const ImageTaskActionSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_imagetask, 0); /** * @generated from enum artworking.v1.ImageTaskType */ export enum ImageTaskType { /** * @generated from enum value: IMAGE_TASK_TYPE_UNDEFINED = 0; */ UNDEFINED = 0, /** * @generated from enum value: IMAGE_TASK_TYPE_FIXUP = 1; */ FIXUP = 1, /** * @generated from enum value: IMAGE_TASK_TYPE_CONVERSION = 2; */ CONVERSION = 2, /** * @generated from enum value: IMAGE_TASK_TYPE_VECTORISE_PREVIEW = 3; */ VECTORISE_PREVIEW = 3, /** * @generated from enum value: IMAGE_TASK_TYPE_VECTORISE_COMPLETE = 4; */ VECTORISE_COMPLETE = 4, /** * @generated from enum value: IMAGE_TASK_TYPE_UPSCALE = 5; */ UPSCALE = 5, /** * @generated from enum value: IMAGE_TASK_TYPE_QUICKFIXES = 6; */ QUICKFIXES = 6, /** * @generated from enum value: IMAGE_TASK_TYPE_GENERAL_PROFILE_RUNNER = 7; */ GENERAL_PROFILE_RUNNER = 7, /** * @generated from enum value: IMAGE_TASK_TYPE_DIELINE_ANALYSER = 8; */ DIELINE_ANALYSER = 8, /** * @generated from enum value: IMAGE_TASK_TYPE_REPORT_ONLY_PROFILE = 9; */ REPORT_ONLY_PROFILE = 9, } /** * Describes the enum artworking.v1.ImageTaskType. */ export const ImageTaskTypeSchema: GenEnum = /*@__PURE__*/ enumDesc(file_artworking_v1_imagetask, 0);