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

import { CreateOrganisationRoleRequest, CreateOrganisationRoleResult, CreatePlatformRoleRequest, CreatePlatformRoleResult, CreateProjectRoleRequest, CreateProjectRoleResult, DeleteAllPlatformRolesRequest, DeleteAllPlatformRolesResult, DeleteOrganisationRoleRequest, DeleteOrganisationRoleResult, DeletePlatformRoleRequest, DeletePlatformRoleResult, DeleteProjectRoleRequest, DeleteProjectRoleResult, DeleteRoleExternalPermissionsRequest, DeleteRoleExternalPermissionsResult, DeleteRolesOnResourceRequest, DeleteRolesOnResourceResult, GetOrganisationRoleRequest, GetOrganisationRoleResult, GetPlatformRoleRequest, GetPlatformRoleResult, GetProjectRoleRequest, GetProjectRoleResult, GetRoleResourceTypesRequest, GetRoleResourceTypesResult, ListOrganisationRolesRequest, ListOrganisationRolesResult, ListPlatformRolesRequest, ListPlatformRolesResult, ListProjectRolesRequest, ListProjectRolesResult, PropagateRolesOnResourceRequest, PropagateRolesOnResourceResult, PutRoleExternalPermissionsRequest, PutRoleExternalPermissionsResult, UpdateOrganisationRoleRequest, UpdateOrganisationRoleResult, UpdatePlatformRoleRequest, UpdatePlatformRoleResult, UpdateProjectRoleRequest, UpdateProjectRoleResult } from "./role_pb.js";
import { MethodKind } from "@bufbuild/protobuf";

/**
 * @generated from service api.RoleService
 */
export const RoleService = {
  typeName: "api.RoleService",
  methods: {
    /**
     * @generated from rpc api.RoleService.CreatePlatformRole
     */
    createPlatformRole: {
      name: "CreatePlatformRole",
      I: CreatePlatformRoleRequest,
      O: CreatePlatformRoleResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.CreateOrganisationRole
     */
    createOrganisationRole: {
      name: "CreateOrganisationRole",
      I: CreateOrganisationRoleRequest,
      O: CreateOrganisationRoleResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.CreateProjectRole
     */
    createProjectRole: {
      name: "CreateProjectRole",
      I: CreateProjectRoleRequest,
      O: CreateProjectRoleResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.UpdatePlatformRole
     */
    updatePlatformRole: {
      name: "UpdatePlatformRole",
      I: UpdatePlatformRoleRequest,
      O: UpdatePlatformRoleResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.UpdateOrganisationRole
     */
    updateOrganisationRole: {
      name: "UpdateOrganisationRole",
      I: UpdateOrganisationRoleRequest,
      O: UpdateOrganisationRoleResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.UpdateProjectRole
     */
    updateProjectRole: {
      name: "UpdateProjectRole",
      I: UpdateProjectRoleRequest,
      O: UpdateProjectRoleResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.DeleteAllPlatformRoles
     */
    deleteAllPlatformRoles: {
      name: "DeleteAllPlatformRoles",
      I: DeleteAllPlatformRolesRequest,
      O: DeleteAllPlatformRolesResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.DeletePlatformRole
     */
    deletePlatformRole: {
      name: "DeletePlatformRole",
      I: DeletePlatformRoleRequest,
      O: DeletePlatformRoleResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.DeleteOrganisationRole
     */
    deleteOrganisationRole: {
      name: "DeleteOrganisationRole",
      I: DeleteOrganisationRoleRequest,
      O: DeleteOrganisationRoleResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.DeleteProjectRole
     */
    deleteProjectRole: {
      name: "DeleteProjectRole",
      I: DeleteProjectRoleRequest,
      O: DeleteProjectRoleResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.GetPlatformRole
     */
    getPlatformRole: {
      name: "GetPlatformRole",
      I: GetPlatformRoleRequest,
      O: GetPlatformRoleResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.GetOrganisationRole
     */
    getOrganisationRole: {
      name: "GetOrganisationRole",
      I: GetOrganisationRoleRequest,
      O: GetOrganisationRoleResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.GetProjectRole
     */
    getProjectRole: {
      name: "GetProjectRole",
      I: GetProjectRoleRequest,
      O: GetProjectRoleResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.ListPlatformRoles
     */
    listPlatformRoles: {
      name: "ListPlatformRoles",
      I: ListPlatformRolesRequest,
      O: ListPlatformRolesResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.ListOrganisationRoles
     */
    listOrganisationRoles: {
      name: "ListOrganisationRoles",
      I: ListOrganisationRolesRequest,
      O: ListOrganisationRolesResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.ListProjectRoles
     */
    listProjectRoles: {
      name: "ListProjectRoles",
      I: ListProjectRolesRequest,
      O: ListProjectRolesResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.PutRoleExternalPermissions
     */
    putRoleExternalPermissions: {
      name: "PutRoleExternalPermissions",
      I: PutRoleExternalPermissionsRequest,
      O: PutRoleExternalPermissionsResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.DeleteRoleExternalPermissions
     */
    deleteRoleExternalPermissions: {
      name: "DeleteRoleExternalPermissions",
      I: DeleteRoleExternalPermissionsRequest,
      O: DeleteRoleExternalPermissionsResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.PropagateRolesOnResource
     */
    propagateRolesOnResource: {
      name: "PropagateRolesOnResource",
      I: PropagateRolesOnResourceRequest,
      O: PropagateRolesOnResourceResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.DeleteRolesOnResource
     */
    deleteRolesOnResource: {
      name: "DeleteRolesOnResource",
      I: DeleteRolesOnResourceRequest,
      O: DeleteRolesOnResourceResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.RoleService.GetRoleResourceTypes
     */
    getRoleResourceTypes: {
      name: "GetRoleResourceTypes",
      I: GetRoleResourceTypesRequest,
      O: GetRoleResourceTypesResult,
      kind: MethodKind.Unary,
    },
  }
} as const;

