// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts"
// @generated from file service/v1alpha1/service.proto (package akuity.io.kargo.service.v1alpha1, syntax proto3)
/* eslint-disable */
// @ts-nocheck

import { AbortPromotionRequest, AbortPromotionResponse, AbortVerificationRequest, AbortVerificationResponse, AdminLoginRequest, AdminLoginResponse, ApproveFreightRequest, ApproveFreightResponse, CreateCredentialsRequest, CreateCredentialsResponse, CreateOrUpdateResourceRequest, CreateOrUpdateResourceResponse, CreateResourceRequest, CreateResourceResponse, CreateRoleRequest, CreateRoleResponse, DeleteAnalysisTemplateRequest, DeleteAnalysisTemplateResponse, DeleteCredentialsRequest, DeleteCredentialsResponse, DeleteFreightRequest, DeleteFreightResponse, DeleteProjectRequest, DeleteProjectResponse, DeleteResourceRequest, DeleteResourceResponse, DeleteRoleRequest, DeleteRoleResponse, DeleteStageRequest, DeleteStageResponse, DeleteWarehouseRequest, DeleteWarehouseResponse, GetAnalysisRunRequest, GetAnalysisRunResponse, GetAnalysisTemplateConfigMapRequest, GetAnalysisTemplateConfigMapResponse, GetAnalysisTemplateRequest, GetAnalysisTemplateResponse, GetAnalysisTemplateSecretRequest, GetAnalysisTemplateSecretResponse, GetConfigRequest, GetConfigResponse, GetCredentialsRequest, GetCredentialsResponse, GetFreightRequest, GetFreightResponse, GetProjectRequest, GetProjectResponse, GetPromotionRequest, GetPromotionResponse, GetPublicConfigRequest, GetPublicConfigResponse, GetRoleRequest, GetRoleResponse, GetStageRequest, GetStageResponse, GetVersionInfoRequest, GetVersionInfoResponse, GetWarehouseRequest, GetWarehouseResponse, GrantRequest, GrantResponse, ListAnalysisTemplateConfigMapsRequest, ListAnalysisTemplateConfigMapsResponse, ListAnalysisTemplateSecretsRequest, ListAnalysisTemplateSecretsResponse, ListAnalysisTemplatesRequest, ListAnalysisTemplatesResponse, ListCredentialsRequest, ListCredentialsResponse, ListImagesRequest, ListImagesResponse, ListProjectEventsRequest, ListProjectEventsResponse, ListProjectsRequest, ListProjectsResponse, ListPromotionsRequest, ListPromotionsResponse, ListRolesRequest, ListRolesResponse, ListStagesRequest, ListStagesResponse, ListWarehousesRequest, ListWarehousesResponse, PromoteDownstreamRequest, PromoteDownstreamResponse, PromoteToStageRequest, PromoteToStageResponse, QueryFreightRequest, QueryFreightResponse, RefreshStageRequest, RefreshStageResponse, RefreshWarehouseRequest, RefreshWarehouseResponse, ReverifyRequest, ReverifyResponse, RevokeRequest, RevokeResponse, UpdateCredentialsRequest, UpdateCredentialsResponse, UpdateFreightAliasRequest, UpdateFreightAliasResponse, UpdateResourceRequest, UpdateResourceResponse, UpdateRoleRequest, UpdateRoleResponse, WatchPromotionRequest, WatchPromotionResponse, WatchPromotionsRequest, WatchPromotionsResponse, WatchStagesRequest, WatchStagesResponse, WatchWarehousesRequest, WatchWarehousesResponse } from "./service_pb.js";
import { MethodKind } from "@bufbuild/protobuf";

/**
 * @generated from service akuity.io.kargo.service.v1alpha1.KargoService
 */
export const KargoService = {
  typeName: "akuity.io.kargo.service.v1alpha1.KargoService",
  methods: {
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.GetVersionInfo
     */
    getVersionInfo: {
      name: "GetVersionInfo",
      I: GetVersionInfoRequest,
      O: GetVersionInfoResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.GetConfig
     */
    getConfig: {
      name: "GetConfig",
      I: GetConfigRequest,
      O: GetConfigResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.GetPublicConfig
     */
    getPublicConfig: {
      name: "GetPublicConfig",
      I: GetPublicConfigRequest,
      O: GetPublicConfigResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.AdminLogin
     */
    adminLogin: {
      name: "AdminLogin",
      I: AdminLoginRequest,
      O: AdminLoginResponse,
      kind: MethodKind.Unary,
    },
    /**
     * TODO(devholic): Add ApplyResource API
     * rpc ApplyResource(ApplyResourceRequest) returns (ApplyResourceRequest);
     *
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.CreateResource
     */
    createResource: {
      name: "CreateResource",
      I: CreateResourceRequest,
      O: CreateResourceResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.CreateOrUpdateResource
     */
    createOrUpdateResource: {
      name: "CreateOrUpdateResource",
      I: CreateOrUpdateResourceRequest,
      O: CreateOrUpdateResourceResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.UpdateResource
     */
    updateResource: {
      name: "UpdateResource",
      I: UpdateResourceRequest,
      O: UpdateResourceResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.DeleteResource
     */
    deleteResource: {
      name: "DeleteResource",
      I: DeleteResourceRequest,
      O: DeleteResourceResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.ListStages
     */
    listStages: {
      name: "ListStages",
      I: ListStagesRequest,
      O: ListStagesResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.ListImages
     */
    listImages: {
      name: "ListImages",
      I: ListImagesRequest,
      O: ListImagesResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.GetStage
     */
    getStage: {
      name: "GetStage",
      I: GetStageRequest,
      O: GetStageResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.WatchStages
     */
    watchStages: {
      name: "WatchStages",
      I: WatchStagesRequest,
      O: WatchStagesResponse,
      kind: MethodKind.ServerStreaming,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.DeleteStage
     */
    deleteStage: {
      name: "DeleteStage",
      I: DeleteStageRequest,
      O: DeleteStageResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.RefreshStage
     */
    refreshStage: {
      name: "RefreshStage",
      I: RefreshStageRequest,
      O: RefreshStageResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.ListPromotions
     */
    listPromotions: {
      name: "ListPromotions",
      I: ListPromotionsRequest,
      O: ListPromotionsResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.WatchPromotions
     */
    watchPromotions: {
      name: "WatchPromotions",
      I: WatchPromotionsRequest,
      O: WatchPromotionsResponse,
      kind: MethodKind.ServerStreaming,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.GetPromotion
     */
    getPromotion: {
      name: "GetPromotion",
      I: GetPromotionRequest,
      O: GetPromotionResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.WatchPromotion
     */
    watchPromotion: {
      name: "WatchPromotion",
      I: WatchPromotionRequest,
      O: WatchPromotionResponse,
      kind: MethodKind.ServerStreaming,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.AbortPromotion
     */
    abortPromotion: {
      name: "AbortPromotion",
      I: AbortPromotionRequest,
      O: AbortPromotionResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.DeleteProject
     */
    deleteProject: {
      name: "DeleteProject",
      I: DeleteProjectRequest,
      O: DeleteProjectResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.GetProject
     */
    getProject: {
      name: "GetProject",
      I: GetProjectRequest,
      O: GetProjectResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.ListProjects
     */
    listProjects: {
      name: "ListProjects",
      I: ListProjectsRequest,
      O: ListProjectsResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.ApproveFreight
     */
    approveFreight: {
      name: "ApproveFreight",
      I: ApproveFreightRequest,
      O: ApproveFreightResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.DeleteFreight
     */
    deleteFreight: {
      name: "DeleteFreight",
      I: DeleteFreightRequest,
      O: DeleteFreightResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.GetFreight
     */
    getFreight: {
      name: "GetFreight",
      I: GetFreightRequest,
      O: GetFreightResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.PromoteToStage
     */
    promoteToStage: {
      name: "PromoteToStage",
      I: PromoteToStageRequest,
      O: PromoteToStageResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.PromoteDownstream
     */
    promoteDownstream: {
      name: "PromoteDownstream",
      I: PromoteDownstreamRequest,
      O: PromoteDownstreamResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.QueryFreight
     */
    queryFreight: {
      name: "QueryFreight",
      I: QueryFreightRequest,
      O: QueryFreightResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.UpdateFreightAlias
     */
    updateFreightAlias: {
      name: "UpdateFreightAlias",
      I: UpdateFreightAliasRequest,
      O: UpdateFreightAliasResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.Reverify
     */
    reverify: {
      name: "Reverify",
      I: ReverifyRequest,
      O: ReverifyResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.AbortVerification
     */
    abortVerification: {
      name: "AbortVerification",
      I: AbortVerificationRequest,
      O: AbortVerificationResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.ListWarehouses
     */
    listWarehouses: {
      name: "ListWarehouses",
      I: ListWarehousesRequest,
      O: ListWarehousesResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.GetWarehouse
     */
    getWarehouse: {
      name: "GetWarehouse",
      I: GetWarehouseRequest,
      O: GetWarehouseResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.WatchWarehouses
     */
    watchWarehouses: {
      name: "WatchWarehouses",
      I: WatchWarehousesRequest,
      O: WatchWarehousesResponse,
      kind: MethodKind.ServerStreaming,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.DeleteWarehouse
     */
    deleteWarehouse: {
      name: "DeleteWarehouse",
      I: DeleteWarehouseRequest,
      O: DeleteWarehouseResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.RefreshWarehouse
     */
    refreshWarehouse: {
      name: "RefreshWarehouse",
      I: RefreshWarehouseRequest,
      O: RefreshWarehouseResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.CreateCredentials
     */
    createCredentials: {
      name: "CreateCredentials",
      I: CreateCredentialsRequest,
      O: CreateCredentialsResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.DeleteCredentials
     */
    deleteCredentials: {
      name: "DeleteCredentials",
      I: DeleteCredentialsRequest,
      O: DeleteCredentialsResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.GetCredentials
     */
    getCredentials: {
      name: "GetCredentials",
      I: GetCredentialsRequest,
      O: GetCredentialsResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.ListCredentials
     */
    listCredentials: {
      name: "ListCredentials",
      I: ListCredentialsRequest,
      O: ListCredentialsResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.UpdateCredentials
     */
    updateCredentials: {
      name: "UpdateCredentials",
      I: UpdateCredentialsRequest,
      O: UpdateCredentialsResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.ListAnalysisTemplates
     */
    listAnalysisTemplates: {
      name: "ListAnalysisTemplates",
      I: ListAnalysisTemplatesRequest,
      O: ListAnalysisTemplatesResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.GetAnalysisTemplate
     */
    getAnalysisTemplate: {
      name: "GetAnalysisTemplate",
      I: GetAnalysisTemplateRequest,
      O: GetAnalysisTemplateResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.DeleteAnalysisTemplate
     */
    deleteAnalysisTemplate: {
      name: "DeleteAnalysisTemplate",
      I: DeleteAnalysisTemplateRequest,
      O: DeleteAnalysisTemplateResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.GetAnalysisRun
     */
    getAnalysisRun: {
      name: "GetAnalysisRun",
      I: GetAnalysisRunRequest,
      O: GetAnalysisRunResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.ListAnalysisTemplateConfigMaps
     */
    listAnalysisTemplateConfigMaps: {
      name: "ListAnalysisTemplateConfigMaps",
      I: ListAnalysisTemplateConfigMapsRequest,
      O: ListAnalysisTemplateConfigMapsResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.GetAnalysisTemplateConfigMap
     */
    getAnalysisTemplateConfigMap: {
      name: "GetAnalysisTemplateConfigMap",
      I: GetAnalysisTemplateConfigMapRequest,
      O: GetAnalysisTemplateConfigMapResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.ListAnalysisTemplateSecrets
     */
    listAnalysisTemplateSecrets: {
      name: "ListAnalysisTemplateSecrets",
      I: ListAnalysisTemplateSecretsRequest,
      O: ListAnalysisTemplateSecretsResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.GetAnalysisTemplateSecret
     */
    getAnalysisTemplateSecret: {
      name: "GetAnalysisTemplateSecret",
      I: GetAnalysisTemplateSecretRequest,
      O: GetAnalysisTemplateSecretResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.ListProjectEvents
     */
    listProjectEvents: {
      name: "ListProjectEvents",
      I: ListProjectEventsRequest,
      O: ListProjectEventsResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.CreateRole
     */
    createRole: {
      name: "CreateRole",
      I: CreateRoleRequest,
      O: CreateRoleResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.DeleteRole
     */
    deleteRole: {
      name: "DeleteRole",
      I: DeleteRoleRequest,
      O: DeleteRoleResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.GetRole
     */
    getRole: {
      name: "GetRole",
      I: GetRoleRequest,
      O: GetRoleResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.Grant
     */
    grant: {
      name: "Grant",
      I: GrantRequest,
      O: GrantResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.ListRoles
     */
    listRoles: {
      name: "ListRoles",
      I: ListRolesRequest,
      O: ListRolesResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.Revoke
     */
    revoke: {
      name: "Revoke",
      I: RevokeRequest,
      O: RevokeResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc akuity.io.kargo.service.v1alpha1.KargoService.UpdateRole
     */
    updateRole: {
      name: "UpdateRole",
      I: UpdateRoleRequest,
      O: UpdateRoleResponse,
      kind: MethodKind.Unary,
    },
  }
} as const;

