// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts,import_extension=none"
// @generated from file svc/token/v1/service.proto (package svc.token.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck

import { GenerateEnvironmentTokenRequest, GenerateEnvironmentTokenResponse, GetEnvironmentTokenRequest, GetEnvironmentTokenResponse, ListEnvironmentTokenRequest, ListEnvironmentTokenResponse, RevokeEnvironmentTokenRequest, RevokeEnvironmentTokenResponse } from "./service_pb";
import { MethodKind } from "@bufbuild/protobuf";

/**
 * @generated from service svc.token.v1.TokenService
 */
export const TokenService = {
  typeName: "svc.token.v1.TokenService",
  methods: {
    /**
     * @generated from rpc svc.token.v1.TokenService.GenerateEnvironmentToken
     */
    generateEnvironmentToken: {
      name: "GenerateEnvironmentToken",
      I: GenerateEnvironmentTokenRequest,
      O: GenerateEnvironmentTokenResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc svc.token.v1.TokenService.RevokeEnvironmentToken
     */
    revokeEnvironmentToken: {
      name: "RevokeEnvironmentToken",
      I: RevokeEnvironmentTokenRequest,
      O: RevokeEnvironmentTokenResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc svc.token.v1.TokenService.GetEnvironmentToken
     */
    getEnvironmentToken: {
      name: "GetEnvironmentToken",
      I: GetEnvironmentTokenRequest,
      O: GetEnvironmentTokenResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc svc.token.v1.TokenService.ListEnvironmentToken
     */
    listEnvironmentToken: {
      name: "ListEnvironmentToken",
      I: ListEnvironmentTokenRequest,
      O: ListEnvironmentTokenResponse,
      kind: MethodKind.Unary,
    },
  }
} as const;

