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

import { CreateRuleRequest, CreateRuleResponse, DeleteRuleRequest, DeleteRuleResponse, DisableRuleRequest, DisableRuleResponse, EnableRuleRequest, EnableRuleResponse, GetJSONTreeRequest, GetJSONTreeResponse, GetRuleRequest, GetRuleResponse, ListRulesRequest, ListRulesResponse, UpdateRuleRequest, UpdateRuleResponse } from "./rules_pb.js";
import { MethodKind } from "@bufbuild/protobuf";

/**
 * @generated from service api.RuleService
 */
export const RuleService = {
  typeName: "api.RuleService",
  methods: {
    /**
     * @generated from rpc api.RuleService.Create
     */
    create: {
      name: "Create",
      I: CreateRuleRequest,
      O: CreateRuleResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RuleService.Update
     */
    update: {
      name: "Update",
      I: UpdateRuleRequest,
      O: UpdateRuleResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RuleService.Get
     */
    get: {
      name: "Get",
      I: GetRuleRequest,
      O: GetRuleResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RuleService.List
     */
    list: {
      name: "List",
      I: ListRulesRequest,
      O: ListRulesResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RuleService.Delete
     */
    delete: {
      name: "Delete",
      I: DeleteRuleRequest,
      O: DeleteRuleResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RuleService.Enable
     */
    enable: {
      name: "Enable",
      I: EnableRuleRequest,
      O: EnableRuleResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RuleService.Disable
     */
    disable: {
      name: "Disable",
      I: DisableRuleRequest,
      O: DisableRuleResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RuleService.GetJSONTree
     */
    getJSONTree: {
      name: "GetJSONTree",
      I: GetJSONTreeRequest,
      O: GetJSONTreeResponse,
      kind: MethodKind.Unary,
    },
  }
} as const;

