// package: event_store.client.persistent_subscriptions // file: persistent.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; import * as persistent_pb from "./persistent_pb"; import * as shared_pb from "./shared_pb"; interface IPersistentSubscriptionsService extends grpc.ServiceDefinition { create: IPersistentSubscriptionsService_ICreate; update: IPersistentSubscriptionsService_IUpdate; delete: IPersistentSubscriptionsService_IDelete; read: IPersistentSubscriptionsService_IRead; getInfo: IPersistentSubscriptionsService_IGetInfo; replayParked: IPersistentSubscriptionsService_IReplayParked; list: IPersistentSubscriptionsService_IList; restartSubsystem: IPersistentSubscriptionsService_IRestartSubsystem; } interface IPersistentSubscriptionsService_ICreate extends grpc.MethodDefinition { path: "/event_store.client.persistent_subscriptions.PersistentSubscriptions/Create"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IPersistentSubscriptionsService_IUpdate extends grpc.MethodDefinition { path: "/event_store.client.persistent_subscriptions.PersistentSubscriptions/Update"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IPersistentSubscriptionsService_IDelete extends grpc.MethodDefinition { path: "/event_store.client.persistent_subscriptions.PersistentSubscriptions/Delete"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IPersistentSubscriptionsService_IRead extends grpc.MethodDefinition { path: "/event_store.client.persistent_subscriptions.PersistentSubscriptions/Read"; requestStream: true; responseStream: true; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IPersistentSubscriptionsService_IGetInfo extends grpc.MethodDefinition { path: "/event_store.client.persistent_subscriptions.PersistentSubscriptions/GetInfo"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IPersistentSubscriptionsService_IReplayParked extends grpc.MethodDefinition { path: "/event_store.client.persistent_subscriptions.PersistentSubscriptions/ReplayParked"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IPersistentSubscriptionsService_IList extends grpc.MethodDefinition { path: "/event_store.client.persistent_subscriptions.PersistentSubscriptions/List"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IPersistentSubscriptionsService_IRestartSubsystem extends grpc.MethodDefinition { path: "/event_store.client.persistent_subscriptions.PersistentSubscriptions/RestartSubsystem"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } export const PersistentSubscriptionsService: IPersistentSubscriptionsService; export interface IPersistentSubscriptionsServer extends grpc.UntypedServiceImplementation { create: grpc.handleUnaryCall; update: grpc.handleUnaryCall; delete: grpc.handleUnaryCall; read: grpc.handleBidiStreamingCall; getInfo: grpc.handleUnaryCall; replayParked: grpc.handleUnaryCall; list: grpc.handleUnaryCall; restartSubsystem: grpc.handleUnaryCall; } export interface IPersistentSubscriptionsClient { create(request: persistent_pb.CreateReq, callback: (error: grpc.ServiceError | null, response: persistent_pb.CreateResp) => void): grpc.ClientUnaryCall; create(request: persistent_pb.CreateReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: persistent_pb.CreateResp) => void): grpc.ClientUnaryCall; create(request: persistent_pb.CreateReq, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: persistent_pb.CreateResp) => void): grpc.ClientUnaryCall; update(request: persistent_pb.UpdateReq, callback: (error: grpc.ServiceError | null, response: persistent_pb.UpdateResp) => void): grpc.ClientUnaryCall; update(request: persistent_pb.UpdateReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: persistent_pb.UpdateResp) => void): grpc.ClientUnaryCall; update(request: persistent_pb.UpdateReq, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: persistent_pb.UpdateResp) => void): grpc.ClientUnaryCall; delete(request: persistent_pb.DeleteReq, callback: (error: grpc.ServiceError | null, response: persistent_pb.DeleteResp) => void): grpc.ClientUnaryCall; delete(request: persistent_pb.DeleteReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: persistent_pb.DeleteResp) => void): grpc.ClientUnaryCall; delete(request: persistent_pb.DeleteReq, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: persistent_pb.DeleteResp) => void): grpc.ClientUnaryCall; read(): grpc.ClientDuplexStream; read(options: Partial): grpc.ClientDuplexStream; read(metadata: grpc.Metadata, options?: Partial): grpc.ClientDuplexStream; getInfo(request: persistent_pb.GetInfoReq, callback: (error: grpc.ServiceError | null, response: persistent_pb.GetInfoResp) => void): grpc.ClientUnaryCall; getInfo(request: persistent_pb.GetInfoReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: persistent_pb.GetInfoResp) => void): grpc.ClientUnaryCall; getInfo(request: persistent_pb.GetInfoReq, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: persistent_pb.GetInfoResp) => void): grpc.ClientUnaryCall; replayParked(request: persistent_pb.ReplayParkedReq, callback: (error: grpc.ServiceError | null, response: persistent_pb.ReplayParkedResp) => void): grpc.ClientUnaryCall; replayParked(request: persistent_pb.ReplayParkedReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: persistent_pb.ReplayParkedResp) => void): grpc.ClientUnaryCall; replayParked(request: persistent_pb.ReplayParkedReq, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: persistent_pb.ReplayParkedResp) => void): grpc.ClientUnaryCall; list(request: persistent_pb.ListReq, callback: (error: grpc.ServiceError | null, response: persistent_pb.ListResp) => void): grpc.ClientUnaryCall; list(request: persistent_pb.ListReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: persistent_pb.ListResp) => void): grpc.ClientUnaryCall; list(request: persistent_pb.ListReq, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: persistent_pb.ListResp) => void): grpc.ClientUnaryCall; restartSubsystem(request: shared_pb.Empty, callback: (error: grpc.ServiceError | null, response: shared_pb.Empty) => void): grpc.ClientUnaryCall; restartSubsystem(request: shared_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: shared_pb.Empty) => void): grpc.ClientUnaryCall; restartSubsystem(request: shared_pb.Empty, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: shared_pb.Empty) => void): grpc.ClientUnaryCall; } export class PersistentSubscriptionsClient extends grpc.Client implements IPersistentSubscriptionsClient { constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial); public create(request: persistent_pb.CreateReq, callback: (error: grpc.ServiceError | null, response: persistent_pb.CreateResp) => void): grpc.ClientUnaryCall; public create(request: persistent_pb.CreateReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: persistent_pb.CreateResp) => void): grpc.ClientUnaryCall; public create(request: persistent_pb.CreateReq, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: persistent_pb.CreateResp) => void): grpc.ClientUnaryCall; public update(request: persistent_pb.UpdateReq, callback: (error: grpc.ServiceError | null, response: persistent_pb.UpdateResp) => void): grpc.ClientUnaryCall; public update(request: persistent_pb.UpdateReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: persistent_pb.UpdateResp) => void): grpc.ClientUnaryCall; public update(request: persistent_pb.UpdateReq, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: persistent_pb.UpdateResp) => void): grpc.ClientUnaryCall; public delete(request: persistent_pb.DeleteReq, callback: (error: grpc.ServiceError | null, response: persistent_pb.DeleteResp) => void): grpc.ClientUnaryCall; public delete(request: persistent_pb.DeleteReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: persistent_pb.DeleteResp) => void): grpc.ClientUnaryCall; public delete(request: persistent_pb.DeleteReq, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: persistent_pb.DeleteResp) => void): grpc.ClientUnaryCall; public read(options?: Partial): grpc.ClientDuplexStream; public read(metadata?: grpc.Metadata, options?: Partial): grpc.ClientDuplexStream; public getInfo(request: persistent_pb.GetInfoReq, callback: (error: grpc.ServiceError | null, response: persistent_pb.GetInfoResp) => void): grpc.ClientUnaryCall; public getInfo(request: persistent_pb.GetInfoReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: persistent_pb.GetInfoResp) => void): grpc.ClientUnaryCall; public getInfo(request: persistent_pb.GetInfoReq, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: persistent_pb.GetInfoResp) => void): grpc.ClientUnaryCall; public replayParked(request: persistent_pb.ReplayParkedReq, callback: (error: grpc.ServiceError | null, response: persistent_pb.ReplayParkedResp) => void): grpc.ClientUnaryCall; public replayParked(request: persistent_pb.ReplayParkedReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: persistent_pb.ReplayParkedResp) => void): grpc.ClientUnaryCall; public replayParked(request: persistent_pb.ReplayParkedReq, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: persistent_pb.ReplayParkedResp) => void): grpc.ClientUnaryCall; public list(request: persistent_pb.ListReq, callback: (error: grpc.ServiceError | null, response: persistent_pb.ListResp) => void): grpc.ClientUnaryCall; public list(request: persistent_pb.ListReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: persistent_pb.ListResp) => void): grpc.ClientUnaryCall; public list(request: persistent_pb.ListReq, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: persistent_pb.ListResp) => void): grpc.ClientUnaryCall; public restartSubsystem(request: shared_pb.Empty, callback: (error: grpc.ServiceError | null, response: shared_pb.Empty) => void): grpc.ClientUnaryCall; public restartSubsystem(request: shared_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: shared_pb.Empty) => void): grpc.ClientUnaryCall; public restartSubsystem(request: shared_pb.Empty, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: shared_pb.Empty) => void): grpc.ClientUnaryCall; }