// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @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 type { NotifCustomFieldsUpdatedResponse } from "./notifInput"; import type { NotifCustomFieldsUpdatedRequest } from "./notifInput"; import type { NotifSanitisedResponse } from "./notifInput"; import type { NotifSanitisedRequest } 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 */ created(input: NotifCreatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Sanitised */ sanitised(input: NotifSanitisedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CustomFieldsUpdated */ customFieldsUpdated(input: NotifCustomFieldsUpdatedRequest, 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 */ created(input: NotifCreatedRequest, 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: Sanitised */ sanitised(input: NotifSanitisedRequest, 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: CustomFieldsUpdated */ customFieldsUpdated(input: NotifCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[2], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }