// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "matrix-proxy.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { MatrixProxyService } from "./matrix-proxy"; import type { SendMessageToProjectRoomResponse } from "./matrix-proxy"; import type { SendMessageToProjectRoomRequest } from "./matrix-proxy"; import type { DeleteRoomsForProjectResponse } from "./matrix-proxy"; import type { DeleteRoomsForProjectRequest } from "./matrix-proxy"; import type { SendNoticeToProjectRoomResponse } from "./matrix-proxy"; import type { SendNoticeToProjectRoomRequest } from "./matrix-proxy"; import type { InviteUserToProjectRoomResponse } from "./matrix-proxy"; import type { InviteUserToProjectRoomRequest } from "./matrix-proxy"; import type { DeleteProjectRoomResponse } from "./matrix-proxy"; import type { DeleteProjectRoomRequest } from "./matrix-proxy"; import type { CreateProjectRoomResponse } from "./matrix-proxy"; import type { CreateProjectRoomRequest } from "./matrix-proxy"; import type { SendNoticeToRoomResponse } from "./matrix-proxy"; import type { SendNoticeToRoomRequest } from "./matrix-proxy"; import type { InviteUserToRoomResponse } from "./matrix-proxy"; import type { InviteUserToRoomRequest } from "./matrix-proxy"; import type { DeleteRoomResponse } from "./matrix-proxy"; import type { DeleteRoomRequest } from "./matrix-proxy"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { CreateRoomResponse } from "./matrix-proxy"; import type { CreateRoomRequest } from "./matrix-proxy"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.MatrixProxyService */ export interface IMatrixProxyServiceClient { /** * @generated from protobuf rpc: CreateRoom */ createRoom(input: CreateRoomRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteRoom */ deleteRoom(input: DeleteRoomRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: InviteUserToRoom */ inviteUserToRoom(input: InviteUserToRoomRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SendNoticeToRoom */ sendNoticeToRoom(input: SendNoticeToRoomRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CreateProjectRoom */ createProjectRoom(input: CreateProjectRoomRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteProjectRoom */ deleteProjectRoom(input: DeleteProjectRoomRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: InviteUserToProjectRoom */ inviteUserToProjectRoom(input: InviteUserToProjectRoomRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SendNoticeToProjectRoom */ sendNoticeToProjectRoom(input: SendNoticeToProjectRoomRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteRoomsForProject */ deleteRoomsForProject(input: DeleteRoomsForProjectRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SendMessageToProjectRoom */ sendMessageToProjectRoom(input: SendMessageToProjectRoomRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.MatrixProxyService */ export class MatrixProxyServiceClient implements IMatrixProxyServiceClient, ServiceInfo { typeName = MatrixProxyService.typeName; methods = MatrixProxyService.methods; options = MatrixProxyService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: CreateRoom */ createRoom(input: CreateRoomRequest, 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: DeleteRoom */ deleteRoom(input: DeleteRoomRequest, 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: InviteUserToRoom */ inviteUserToRoom(input: InviteUserToRoomRequest, 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: SendNoticeToRoom */ sendNoticeToRoom(input: SendNoticeToRoomRequest, 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: CreateProjectRoom */ createProjectRoom(input: CreateProjectRoomRequest, 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: DeleteProjectRoom */ deleteProjectRoom(input: DeleteProjectRoomRequest, 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: InviteUserToProjectRoom */ inviteUserToProjectRoom(input: InviteUserToProjectRoomRequest, options?: RpcOptions): UnaryCall { const method = this.methods[6], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: SendNoticeToProjectRoom */ sendNoticeToProjectRoom(input: SendNoticeToProjectRoomRequest, options?: RpcOptions): UnaryCall { const method = this.methods[7], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: DeleteRoomsForProject */ deleteRoomsForProject(input: DeleteRoomsForProjectRequest, options?: RpcOptions): UnaryCall { const method = this.methods[8], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: SendMessageToProjectRoom */ sendMessageToProjectRoom(input: SendMessageToProjectRoomRequest, options?: RpcOptions): UnaryCall { const method = this.methods[9], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }