// @generated by protoc-gen-connect-es v0.13.0 with parameter "target=ts"
// @generated from file api.proto (package api, syntax proto3)
/* eslint-disable */
// @ts-nocheck

import { CleanScopeRequest, CleanScopeResult, CreateScopeRequest, CreateScopeResult, DeleteScopeRequest, DeleteScopeResult, GetPermissionsRequest, GetPermissionsResult, GetUIPermissionsRequest, GetUIPermissionsResult, ListUserUIPermissionsRequest, ListUserUIPermissionsResult, RegisterPackageRequest, RegisterPackageResult } from "./api_pb.js";
import { MethodKind } from "@bufbuild/protobuf";

/**
 * @generated from service api.APIService
 */
export const APIService = {
  typeName: "api.APIService",
  methods: {
    /**
     * @generated from rpc api.APIService.GetPermissions
     */
    getPermissions: {
      name: "GetPermissions",
      I: GetPermissionsRequest,
      O: GetPermissionsResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.APIService.GetUIPermissions
     */
    getUIPermissions: {
      name: "GetUIPermissions",
      I: GetUIPermissionsRequest,
      O: GetUIPermissionsResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.APIService.ListUserUIPermissions
     */
    listUserUIPermissions: {
      name: "ListUserUIPermissions",
      I: ListUserUIPermissionsRequest,
      O: ListUserUIPermissionsResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.APIService.RegisterPackage
     */
    registerPackage: {
      name: "RegisterPackage",
      I: RegisterPackageRequest,
      O: RegisterPackageResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.APIService.CreateScope
     */
    createScope: {
      name: "CreateScope",
      I: CreateScopeRequest,
      O: CreateScopeResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.APIService.DeleteScope
     */
    deleteScope: {
      name: "DeleteScope",
      I: DeleteScopeRequest,
      O: DeleteScopeResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.APIService.CleanScope
     */
    cleanScope: {
      name: "CleanScope",
      I: CleanScopeRequest,
      O: CleanScopeResult,
      kind: MethodKind.Unary,
    },
  }
} as const;

