import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import { BinaryReader } from "../binary";
import { createProtobufRpcClient } from "@cosmjs/stargate";
import { QueryParamsRequest, QueryParamsResponse, QueryVestedAmountRequest, QueryVestedAmountResponse, QueryGetTaskRequest, QueryGetTaskResponse, QueryAllTaskRequest, QueryAllTaskResponse, QueryAllBranchRequest, QueryAllBranchResponse, QueryGetRepositoryBranchRequest, QueryGetRepositoryBranchResponse, QueryGetRepositoryBranchShaRequest, QueryGetRepositoryBranchShaResponse, QueryAllRepositoryBranchRequest, QueryAllRepositoryBranchResponse, QueryAllTagRequest, QueryAllTagResponse, QueryGetRepositoryTagRequest, QueryGetRepositoryTagResponse, QueryGetRepositoryTagShaRequest, QueryGetRepositoryTagShaResponse, QueryAllRepositoryTagRequest, QueryAllRepositoryTagResponse, QueryGetDaoMemberRequest, QueryGetDaoMemberResponse, QueryAllDaoMemberRequest, QueryAllDaoMemberResponse, QueryAllMemberRequest, QueryAllMemberResponse, QueryGetBountyRequest, QueryGetBountyResponse, QueryAllBountyRequest, QueryAllBountyResponse, QueryGetReleaseRequest, QueryGetReleaseResponse, QueryAllReleaseRequest, QueryAllReleaseResponse, QueryAllPullRequestRequest, QueryAllPullRequestResponse, QueryGetDaoRequest, QueryGetDaoResponse, QueryAllDaoRequest, QueryAllDaoResponse, QueryGetIssueCommentRequest, QueryGetIssueCommentResponse, QueryGetPullRequestCommentRequest, QueryGetPullRequestCommentResponse, QueryAllCommentRequest, QueryAllCommentResponse, QueryAllIssueCommentRequest, QueryAllIssueCommentResponse, QueryAllPullRequestCommentRequest, QueryAllPullRequestCommentResponse, QueryAllIssueRequest, QueryAllIssueResponse, QueryGetLatestRepositoryReleaseRequest, QueryGetLatestRepositoryReleaseResponse, QueryGetRepositoryReleaseRequest, QueryGetRepositoryReleaseResponse, QueryAllRepositoryReleaseRequest, QueryAllRepositoryReleaseResponse, QueryGetRepositoryIssueRequest, QueryGetRepositoryIssueResponse, QueryAllRepositoryIssueRequest, QueryAllRepositoryIssueResponse, QueryGetRepositoryPullRequestRequest, QueryGetRepositoryPullRequestResponse, QueryAllRepositoryPullRequestRequest, QueryAllRepositoryPullRequestResponse, QueryGetRepositoryRequest, QueryGetRepositoryResponse, QueryAllRepositoryRequest, QueryAllRepositoryResponse, QueryGetAllForkRequest, QueryGetAllForkResponse, QueryGetUserRequest, QueryGetUserResponse, QueryAllUserDaoRequest, QueryAllUserDaoResponse, QueryAllUserRequest, QueryAllUserResponse, QueryAllAnyRepositoryRequest, QueryAllAnyRepositoryResponse, QueryGetAnyRepositoryRequest, QueryGetAnyRepositoryResponse, QueryGetWhoisRequest, QueryGetWhoisResponse, QueryAllWhoisRequest, QueryAllWhoisResponse, QueryGetPullRequestMergePermissionRequest, QueryGetPullRequestMergePermissionResponse, QueryCheckGitServerAuthorizationRequest, QueryCheckGitServerAuthorizationResponse, QueryCheckStorageProviderAuthorizationRequest, QueryCheckStorageProviderAuthorizationResponse } from "./query";
/** Query defines the gRPC querier service. */

export class QueryClientImpl {
  constructor(rpc) {
    _defineProperty(this, "rpc", void 0);
    this.rpc = rpc;
    this.params = this.params.bind(this);
    this.vestedAmount = this.vestedAmount.bind(this);
    this.task = this.task.bind(this);
    this.taskAll = this.taskAll.bind(this);
    this.branchAll = this.branchAll.bind(this);
    this.repositoryBranch = this.repositoryBranch.bind(this);
    this.repositoryBranchSha = this.repositoryBranchSha.bind(this);
    this.repositoryBranchAll = this.repositoryBranchAll.bind(this);
    this.tagAll = this.tagAll.bind(this);
    this.repositoryTag = this.repositoryTag.bind(this);
    this.repositoryTagSha = this.repositoryTagSha.bind(this);
    this.repositoryTagAll = this.repositoryTagAll.bind(this);
    this.daoMember = this.daoMember.bind(this);
    this.daoMemberAll = this.daoMemberAll.bind(this);
    this.memberAll = this.memberAll.bind(this);
    this.bounty = this.bounty.bind(this);
    this.bountyAll = this.bountyAll.bind(this);
    this.release = this.release.bind(this);
    this.releaseAll = this.releaseAll.bind(this);
    this.pullRequestAll = this.pullRequestAll.bind(this);
    this.dao = this.dao.bind(this);
    this.daoAll = this.daoAll.bind(this);
    this.issueComment = this.issueComment.bind(this);
    this.pullRequestComment = this.pullRequestComment.bind(this);
    this.commentAll = this.commentAll.bind(this);
    this.issueCommentAll = this.issueCommentAll.bind(this);
    this.pullRequestCommentAll = this.pullRequestCommentAll.bind(this);
    this.issueAll = this.issueAll.bind(this);
    this.repositoryReleaseLatest = this.repositoryReleaseLatest.bind(this);
    this.repositoryRelease = this.repositoryRelease.bind(this);
    this.repositoryReleaseAll = this.repositoryReleaseAll.bind(this);
    this.repositoryIssue = this.repositoryIssue.bind(this);
    this.repositoryIssueAll = this.repositoryIssueAll.bind(this);
    this.repositoryPullRequest = this.repositoryPullRequest.bind(this);
    this.repositoryPullRequestAll = this.repositoryPullRequestAll.bind(this);
    this.repository = this.repository.bind(this);
    this.repositoryAll = this.repositoryAll.bind(this);
    this.forkAll = this.forkAll.bind(this);
    this.user = this.user.bind(this);
    this.userDaoAll = this.userDaoAll.bind(this);
    this.userAll = this.userAll.bind(this);
    this.anyRepositoryAll = this.anyRepositoryAll.bind(this);
    this.anyRepository = this.anyRepository.bind(this);
    this.whois = this.whois.bind(this);
    this.whoisAll = this.whoisAll.bind(this);
    this.pullRequestMergePermission = this.pullRequestMergePermission.bind(this);
    this.checkGitServerAuthorization = this.checkGitServerAuthorization.bind(this);
    this.checkStorageProviderAuthorization = this.checkStorageProviderAuthorization.bind(this);
  }
  params(request = {}) {
    const data = QueryParamsRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "Params", data);
    return promise.then(data => QueryParamsResponse.decode(new BinaryReader(data)));
  }
  vestedAmount(request) {
    const data = QueryVestedAmountRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "VestedAmount", data);
    return promise.then(data => QueryVestedAmountResponse.decode(new BinaryReader(data)));
  }
  task(request) {
    const data = QueryGetTaskRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "Task", data);
    return promise.then(data => QueryGetTaskResponse.decode(new BinaryReader(data)));
  }
  taskAll(request = {
    pagination: undefined
  }) {
    const data = QueryAllTaskRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "TaskAll", data);
    return promise.then(data => QueryAllTaskResponse.decode(new BinaryReader(data)));
  }
  branchAll(request = {
    pagination: undefined
  }) {
    const data = QueryAllBranchRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "BranchAll", data);
    return promise.then(data => QueryAllBranchResponse.decode(new BinaryReader(data)));
  }
  repositoryBranch(request) {
    const data = QueryGetRepositoryBranchRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryBranch", data);
    return promise.then(data => QueryGetRepositoryBranchResponse.decode(new BinaryReader(data)));
  }
  repositoryBranchSha(request) {
    const data = QueryGetRepositoryBranchShaRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryBranchSha", data);
    return promise.then(data => QueryGetRepositoryBranchShaResponse.decode(new BinaryReader(data)));
  }
  repositoryBranchAll(request) {
    const data = QueryAllRepositoryBranchRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryBranchAll", data);
    return promise.then(data => QueryAllRepositoryBranchResponse.decode(new BinaryReader(data)));
  }
  tagAll(request = {
    pagination: undefined
  }) {
    const data = QueryAllTagRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "TagAll", data);
    return promise.then(data => QueryAllTagResponse.decode(new BinaryReader(data)));
  }
  repositoryTag(request) {
    const data = QueryGetRepositoryTagRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryTag", data);
    return promise.then(data => QueryGetRepositoryTagResponse.decode(new BinaryReader(data)));
  }
  repositoryTagSha(request) {
    const data = QueryGetRepositoryTagShaRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryTagSha", data);
    return promise.then(data => QueryGetRepositoryTagShaResponse.decode(new BinaryReader(data)));
  }
  repositoryTagAll(request) {
    const data = QueryAllRepositoryTagRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryTagAll", data);
    return promise.then(data => QueryAllRepositoryTagResponse.decode(new BinaryReader(data)));
  }
  daoMember(request) {
    const data = QueryGetDaoMemberRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "DaoMember", data);
    return promise.then(data => QueryGetDaoMemberResponse.decode(new BinaryReader(data)));
  }
  daoMemberAll(request) {
    const data = QueryAllDaoMemberRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "DaoMemberAll", data);
    return promise.then(data => QueryAllDaoMemberResponse.decode(new BinaryReader(data)));
  }
  memberAll(request = {
    pagination: undefined
  }) {
    const data = QueryAllMemberRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "MemberAll", data);
    return promise.then(data => QueryAllMemberResponse.decode(new BinaryReader(data)));
  }
  bounty(request) {
    const data = QueryGetBountyRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "Bounty", data);
    return promise.then(data => QueryGetBountyResponse.decode(new BinaryReader(data)));
  }
  bountyAll(request = {
    pagination: undefined
  }) {
    const data = QueryAllBountyRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "BountyAll", data);
    return promise.then(data => QueryAllBountyResponse.decode(new BinaryReader(data)));
  }
  release(request) {
    const data = QueryGetReleaseRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "Release", data);
    return promise.then(data => QueryGetReleaseResponse.decode(new BinaryReader(data)));
  }
  releaseAll(request = {
    pagination: undefined
  }) {
    const data = QueryAllReleaseRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "ReleaseAll", data);
    return promise.then(data => QueryAllReleaseResponse.decode(new BinaryReader(data)));
  }
  pullRequestAll(request = {
    pagination: undefined
  }) {
    const data = QueryAllPullRequestRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "PullRequestAll", data);
    return promise.then(data => QueryAllPullRequestResponse.decode(new BinaryReader(data)));
  }
  dao(request) {
    const data = QueryGetDaoRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "Dao", data);
    return promise.then(data => QueryGetDaoResponse.decode(new BinaryReader(data)));
  }
  daoAll(request = {
    pagination: undefined
  }) {
    const data = QueryAllDaoRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "DaoAll", data);
    return promise.then(data => QueryAllDaoResponse.decode(new BinaryReader(data)));
  }
  issueComment(request) {
    const data = QueryGetIssueCommentRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "IssueComment", data);
    return promise.then(data => QueryGetIssueCommentResponse.decode(new BinaryReader(data)));
  }
  pullRequestComment(request) {
    const data = QueryGetPullRequestCommentRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "PullRequestComment", data);
    return promise.then(data => QueryGetPullRequestCommentResponse.decode(new BinaryReader(data)));
  }
  commentAll(request = {
    pagination: undefined
  }) {
    const data = QueryAllCommentRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "CommentAll", data);
    return promise.then(data => QueryAllCommentResponse.decode(new BinaryReader(data)));
  }
  issueCommentAll(request) {
    const data = QueryAllIssueCommentRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "IssueCommentAll", data);
    return promise.then(data => QueryAllIssueCommentResponse.decode(new BinaryReader(data)));
  }
  pullRequestCommentAll(request) {
    const data = QueryAllPullRequestCommentRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "PullRequestCommentAll", data);
    return promise.then(data => QueryAllPullRequestCommentResponse.decode(new BinaryReader(data)));
  }
  issueAll(request = {
    pagination: undefined
  }) {
    const data = QueryAllIssueRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "IssueAll", data);
    return promise.then(data => QueryAllIssueResponse.decode(new BinaryReader(data)));
  }
  repositoryReleaseLatest(request) {
    const data = QueryGetLatestRepositoryReleaseRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryReleaseLatest", data);
    return promise.then(data => QueryGetLatestRepositoryReleaseResponse.decode(new BinaryReader(data)));
  }
  repositoryRelease(request) {
    const data = QueryGetRepositoryReleaseRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryRelease", data);
    return promise.then(data => QueryGetRepositoryReleaseResponse.decode(new BinaryReader(data)));
  }
  repositoryReleaseAll(request) {
    const data = QueryAllRepositoryReleaseRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryReleaseAll", data);
    return promise.then(data => QueryAllRepositoryReleaseResponse.decode(new BinaryReader(data)));
  }
  repositoryIssue(request) {
    const data = QueryGetRepositoryIssueRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryIssue", data);
    return promise.then(data => QueryGetRepositoryIssueResponse.decode(new BinaryReader(data)));
  }
  repositoryIssueAll(request) {
    const data = QueryAllRepositoryIssueRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryIssueAll", data);
    return promise.then(data => QueryAllRepositoryIssueResponse.decode(new BinaryReader(data)));
  }
  repositoryPullRequest(request) {
    const data = QueryGetRepositoryPullRequestRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryPullRequest", data);
    return promise.then(data => QueryGetRepositoryPullRequestResponse.decode(new BinaryReader(data)));
  }
  repositoryPullRequestAll(request) {
    const data = QueryAllRepositoryPullRequestRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryPullRequestAll", data);
    return promise.then(data => QueryAllRepositoryPullRequestResponse.decode(new BinaryReader(data)));
  }
  repository(request) {
    const data = QueryGetRepositoryRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "Repository", data);
    return promise.then(data => QueryGetRepositoryResponse.decode(new BinaryReader(data)));
  }
  repositoryAll(request = {
    pagination: undefined
  }) {
    const data = QueryAllRepositoryRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryAll", data);
    return promise.then(data => QueryAllRepositoryResponse.decode(new BinaryReader(data)));
  }
  forkAll(request) {
    const data = QueryGetAllForkRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "ForkAll", data);
    return promise.then(data => QueryGetAllForkResponse.decode(new BinaryReader(data)));
  }
  user(request) {
    const data = QueryGetUserRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "User", data);
    return promise.then(data => QueryGetUserResponse.decode(new BinaryReader(data)));
  }
  userDaoAll(request) {
    const data = QueryAllUserDaoRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "UserDaoAll", data);
    return promise.then(data => QueryAllUserDaoResponse.decode(new BinaryReader(data)));
  }
  userAll(request = {
    pagination: undefined
  }) {
    const data = QueryAllUserRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "UserAll", data);
    return promise.then(data => QueryAllUserResponse.decode(new BinaryReader(data)));
  }
  anyRepositoryAll(request) {
    const data = QueryAllAnyRepositoryRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "AnyRepositoryAll", data);
    return promise.then(data => QueryAllAnyRepositoryResponse.decode(new BinaryReader(data)));
  }
  anyRepository(request) {
    const data = QueryGetAnyRepositoryRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "AnyRepository", data);
    return promise.then(data => QueryGetAnyRepositoryResponse.decode(new BinaryReader(data)));
  }
  whois(request) {
    const data = QueryGetWhoisRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "Whois", data);
    return promise.then(data => QueryGetWhoisResponse.decode(new BinaryReader(data)));
  }
  whoisAll(request = {
    pagination: undefined
  }) {
    const data = QueryAllWhoisRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "WhoisAll", data);
    return promise.then(data => QueryAllWhoisResponse.decode(new BinaryReader(data)));
  }
  pullRequestMergePermission(request) {
    const data = QueryGetPullRequestMergePermissionRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "PullRequestMergePermission", data);
    return promise.then(data => QueryGetPullRequestMergePermissionResponse.decode(new BinaryReader(data)));
  }
  checkGitServerAuthorization(request) {
    const data = QueryCheckGitServerAuthorizationRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "CheckGitServerAuthorization", data);
    return promise.then(data => QueryCheckGitServerAuthorizationResponse.decode(new BinaryReader(data)));
  }
  checkStorageProviderAuthorization(request) {
    const data = QueryCheckStorageProviderAuthorizationRequest.encode(request).finish();
    const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "CheckStorageProviderAuthorization", data);
    return promise.then(data => QueryCheckStorageProviderAuthorizationResponse.decode(new BinaryReader(data)));
  }
}
export const createRpcQueryExtension = base => {
  const rpc = createProtobufRpcClient(base);
  const queryService = new QueryClientImpl(rpc);
  return {
    params(request) {
      return queryService.params(request);
    },
    vestedAmount(request) {
      return queryService.vestedAmount(request);
    },
    task(request) {
      return queryService.task(request);
    },
    taskAll(request) {
      return queryService.taskAll(request);
    },
    branchAll(request) {
      return queryService.branchAll(request);
    },
    repositoryBranch(request) {
      return queryService.repositoryBranch(request);
    },
    repositoryBranchSha(request) {
      return queryService.repositoryBranchSha(request);
    },
    repositoryBranchAll(request) {
      return queryService.repositoryBranchAll(request);
    },
    tagAll(request) {
      return queryService.tagAll(request);
    },
    repositoryTag(request) {
      return queryService.repositoryTag(request);
    },
    repositoryTagSha(request) {
      return queryService.repositoryTagSha(request);
    },
    repositoryTagAll(request) {
      return queryService.repositoryTagAll(request);
    },
    daoMember(request) {
      return queryService.daoMember(request);
    },
    daoMemberAll(request) {
      return queryService.daoMemberAll(request);
    },
    memberAll(request) {
      return queryService.memberAll(request);
    },
    bounty(request) {
      return queryService.bounty(request);
    },
    bountyAll(request) {
      return queryService.bountyAll(request);
    },
    release(request) {
      return queryService.release(request);
    },
    releaseAll(request) {
      return queryService.releaseAll(request);
    },
    pullRequestAll(request) {
      return queryService.pullRequestAll(request);
    },
    dao(request) {
      return queryService.dao(request);
    },
    daoAll(request) {
      return queryService.daoAll(request);
    },
    issueComment(request) {
      return queryService.issueComment(request);
    },
    pullRequestComment(request) {
      return queryService.pullRequestComment(request);
    },
    commentAll(request) {
      return queryService.commentAll(request);
    },
    issueCommentAll(request) {
      return queryService.issueCommentAll(request);
    },
    pullRequestCommentAll(request) {
      return queryService.pullRequestCommentAll(request);
    },
    issueAll(request) {
      return queryService.issueAll(request);
    },
    repositoryReleaseLatest(request) {
      return queryService.repositoryReleaseLatest(request);
    },
    repositoryRelease(request) {
      return queryService.repositoryRelease(request);
    },
    repositoryReleaseAll(request) {
      return queryService.repositoryReleaseAll(request);
    },
    repositoryIssue(request) {
      return queryService.repositoryIssue(request);
    },
    repositoryIssueAll(request) {
      return queryService.repositoryIssueAll(request);
    },
    repositoryPullRequest(request) {
      return queryService.repositoryPullRequest(request);
    },
    repositoryPullRequestAll(request) {
      return queryService.repositoryPullRequestAll(request);
    },
    repository(request) {
      return queryService.repository(request);
    },
    repositoryAll(request) {
      return queryService.repositoryAll(request);
    },
    forkAll(request) {
      return queryService.forkAll(request);
    },
    user(request) {
      return queryService.user(request);
    },
    userDaoAll(request) {
      return queryService.userDaoAll(request);
    },
    userAll(request) {
      return queryService.userAll(request);
    },
    anyRepositoryAll(request) {
      return queryService.anyRepositoryAll(request);
    },
    anyRepository(request) {
      return queryService.anyRepository(request);
    },
    whois(request) {
      return queryService.whois(request);
    },
    whoisAll(request) {
      return queryService.whoisAll(request);
    },
    pullRequestMergePermission(request) {
      return queryService.pullRequestMergePermission(request);
    },
    checkGitServerAuthorization(request) {
      return queryService.checkGitServerAuthorization(request);
    },
    checkStorageProviderAuthorization(request) {
      return queryService.checkStorageProviderAuthorization(request);
    }
  };
};