// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "alias.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { AliasService } from "./alias"; import type { DeleteAllAliasesToResponse } from "./alias"; import type { DeleteAllAliasesToRequest } from "./alias"; import type { DeleteAllAliasesFromResponse } from "./alias"; import type { DeleteAllAliasesFromRequest } from "./alias"; import type { DeleteAliasResponse } from "./alias"; import type { DeleteAliasRequest } from "./alias"; import type { ListAliasesToResponse } from "./alias"; import type { ListAliasesToRequest } from "./alias"; import type { ListAliasesFromResponse } from "./alias"; import type { ListAliasesFromRequest } from "./alias"; import type { GetAliasResponse } from "./alias"; import type { GetAliasRequest } from "./alias"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { CreateAliasResponse } from "./alias"; import type { CreateAliasRequest } from "./alias"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.AliasService */ export interface IAliasServiceClient { /** * @generated from protobuf rpc: CreateAlias */ createAlias(input: CreateAliasRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetAlias */ getAlias(input: GetAliasRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListAliasesFrom */ listAliasesFrom(input: ListAliasesFromRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListAliasesTo */ listAliasesTo(input: ListAliasesToRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteAlias */ deleteAlias(input: DeleteAliasRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteAllAliasesFrom */ deleteAllAliasesFrom(input: DeleteAllAliasesFromRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteAllAliasesTo */ deleteAllAliasesTo(input: DeleteAllAliasesToRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.AliasService */ export class AliasServiceClient implements IAliasServiceClient, ServiceInfo { typeName = AliasService.typeName; methods = AliasService.methods; options = AliasService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: CreateAlias */ createAlias(input: CreateAliasRequest, options?: RpcOptions): UnaryCall { const method = this.methods[0], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: GetAlias */ getAlias(input: GetAliasRequest, options?: RpcOptions): UnaryCall { const method = this.methods[1], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListAliasesFrom */ listAliasesFrom(input: ListAliasesFromRequest, options?: RpcOptions): UnaryCall { const method = this.methods[2], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListAliasesTo */ listAliasesTo(input: ListAliasesToRequest, options?: RpcOptions): UnaryCall { const method = this.methods[3], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: DeleteAlias */ deleteAlias(input: DeleteAliasRequest, options?: RpcOptions): UnaryCall { const method = this.methods[4], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: DeleteAllAliasesFrom */ deleteAllAliasesFrom(input: DeleteAllAliasesFromRequest, options?: RpcOptions): UnaryCall { const method = this.methods[5], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: DeleteAllAliasesTo */ deleteAllAliasesTo(input: DeleteAllAliasesToRequest, options?: RpcOptions): UnaryCall { const method = this.methods[6], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }