// @generated by protobuf-ts 2.9.6 // @generated from protobuf file "notifInput.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { NotifInputAPI } from "./notifInput"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { NotifCreatedResponse } from "./notifInput"; import type { NotifCreatedRequest } from "./notifInput"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * * API-server services * * @generated from protobuf service api.NotifInputAPI */ export interface INotifInputAPIClient { /** * @generated from protobuf rpc: Created(api.NotifCreatedRequest) returns (api.NotifCreatedResponse); */ created(input: NotifCreatedRequest, options?: RpcOptions): UnaryCall; } /** * * API-server services * * @generated from protobuf service api.NotifInputAPI */ export class NotifInputAPIClient implements INotifInputAPIClient, ServiceInfo { typeName = NotifInputAPI.typeName; methods = NotifInputAPI.methods; options = NotifInputAPI.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Created(api.NotifCreatedRequest) returns (api.NotifCreatedResponse); */ created(input: NotifCreatedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[0], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }