// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "messaging-settings.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { MessagingSettingsService } from "./messaging-settings"; import type { GetMessagingSettingsHistoryResponse } from "./messaging-settings"; import type { GetMessagingSettingsHistoryRequest } from "./messaging-settings"; import type { GetMessagingSettingsResponse } from "./messaging-settings"; import type { GetMessagingSettingsRequest } from "./messaging-settings"; import type { PutMessagingSettingsResponse } from "./messaging-settings"; import type { PutMessagingSettingsRequest } from "./messaging-settings"; import type { DeleteSettingsAccountResponse } from "./messaging-settings"; import type { DeleteSettingsAccountRequest } from "./messaging-settings"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { CreateSettingsAccountResponse } from "./messaging-settings"; import type { CreateSettingsAccountRequest } from "./messaging-settings"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.MessagingSettingsService */ export interface IMessagingSettingsServiceClient { /** * @generated from protobuf rpc: CreateSettingsAccount */ createSettingsAccount(input: CreateSettingsAccountRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteSettingsAccount */ deleteSettingsAccount(input: DeleteSettingsAccountRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Put */ put(input: PutMessagingSettingsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Get */ get(input: GetMessagingSettingsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetHistory */ getHistory(input: GetMessagingSettingsHistoryRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.MessagingSettingsService */ export class MessagingSettingsServiceClient implements IMessagingSettingsServiceClient, ServiceInfo { typeName = MessagingSettingsService.typeName; methods = MessagingSettingsService.methods; options = MessagingSettingsService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: CreateSettingsAccount */ createSettingsAccount(input: CreateSettingsAccountRequest, 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: DeleteSettingsAccount */ deleteSettingsAccount(input: DeleteSettingsAccountRequest, 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: Put */ put(input: PutMessagingSettingsRequest, 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: Get */ get(input: GetMessagingSettingsRequest, 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: GetHistory */ getHistory(input: GetMessagingSettingsHistoryRequest, options?: RpcOptions): UnaryCall { const method = this.methods[4], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }