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

import { ComputeRuleRequest, ComputeRuleResponse, CreateRestrictionRequest, CreateRestrictionResponse, DeleteForProjectRestrictionRequest, DeleteForProjectRestrictionResponse, DeleteRestrictionRequest, DeleteRestrictionResponse, DisableRestrictionRequest, DisableRestrictionResponse, EnableRestrictionRequest, EnableRestrictionResponse, GetRestrictionRequest, GetRestrictionResponse, GetRuleJSONTreeRequest, GetRuleJSONTreeResponse, GetRulesJSONTreeRequest, GetRulesJSONTreeResponse, ListRestrictionsRequest, ListRestrictionsResponse, UpdateRestrictionRequest, UpdateRestrictionResponse, ValidateRestrictionRuleRequest, ValidateRestrictionRuleResponse } from "./restrictions_pb.js";
import { MethodKind } from "@bufbuild/protobuf";

/**
 * @generated from service api.RestrictionService
 */
export const RestrictionService = {
  typeName: "api.RestrictionService",
  methods: {
    /**
     * @generated from rpc api.RestrictionService.Create
     */
    create: {
      name: "Create",
      I: CreateRestrictionRequest,
      O: CreateRestrictionResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RestrictionService.Update
     */
    update: {
      name: "Update",
      I: UpdateRestrictionRequest,
      O: UpdateRestrictionResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RestrictionService.Get
     */
    get: {
      name: "Get",
      I: GetRestrictionRequest,
      O: GetRestrictionResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RestrictionService.List
     */
    list: {
      name: "List",
      I: ListRestrictionsRequest,
      O: ListRestrictionsResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RestrictionService.Delete
     */
    delete: {
      name: "Delete",
      I: DeleteRestrictionRequest,
      O: DeleteRestrictionResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RestrictionService.Enable
     */
    enable: {
      name: "Enable",
      I: EnableRestrictionRequest,
      O: EnableRestrictionResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RestrictionService.Disable
     */
    disable: {
      name: "Disable",
      I: DisableRestrictionRequest,
      O: DisableRestrictionResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RestrictionService.DeleteForProject
     */
    deleteForProject: {
      name: "DeleteForProject",
      I: DeleteForProjectRestrictionRequest,
      O: DeleteForProjectRestrictionResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RestrictionService.GetRulesJSONTree
     */
    getRulesJSONTree: {
      name: "GetRulesJSONTree",
      I: GetRulesJSONTreeRequest,
      O: GetRulesJSONTreeResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RestrictionService.ValidateRule
     */
    validateRule: {
      name: "ValidateRule",
      I: ValidateRestrictionRuleRequest,
      O: ValidateRestrictionRuleResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RestrictionService.GetRuleJSONTree
     */
    getRuleJSONTree: {
      name: "GetRuleJSONTree",
      I: GetRuleJSONTreeRequest,
      O: GetRuleJSONTreeResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RestrictionService.Compute
     */
    compute: {
      name: "Compute",
      I: ComputeRuleRequest,
      O: ComputeRuleResponse,
      kind: MethodKind.Unary,
    },
  }
} as const;

