You've already forked npm-core-sdk
51 lines
2.7 KiB
TypeScript
51 lines
2.7 KiB
TypeScript
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
|
|
// @generated from protobuf file "adminConnection.proto" (package "api", syntax proto3)
|
|
// tslint:disable
|
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
import { AdminConnectionService } from "./adminConnection";
|
|
import type { ListConnectionManagerResult } from "./adminConnection";
|
|
import type { ListConnectionManagerRequest } from "./adminConnection";
|
|
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
import type { RegisterConnectionManagerResult } from "./adminConnection";
|
|
import type { RegisterConnectionManagerRequest } from "./adminConnection";
|
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
/**
|
|
* @generated from protobuf service api.AdminConnectionService
|
|
*/
|
|
export interface IAdminConnectionServiceClient {
|
|
/**
|
|
* @generated from protobuf rpc: RegisterConnectionManager
|
|
*/
|
|
registerConnectionManager(input: RegisterConnectionManagerRequest, options?: RpcOptions): UnaryCall<RegisterConnectionManagerRequest, RegisterConnectionManagerResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListConnectionManager
|
|
*/
|
|
listConnectionManager(input: ListConnectionManagerRequest, options?: RpcOptions): UnaryCall<ListConnectionManagerRequest, ListConnectionManagerResult>;
|
|
}
|
|
/**
|
|
* @generated from protobuf service api.AdminConnectionService
|
|
*/
|
|
export class AdminConnectionServiceClient implements IAdminConnectionServiceClient, ServiceInfo {
|
|
typeName = AdminConnectionService.typeName;
|
|
methods = AdminConnectionService.methods;
|
|
options = AdminConnectionService.options;
|
|
constructor(private readonly _transport: RpcTransport) {
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: RegisterConnectionManager
|
|
*/
|
|
registerConnectionManager(input: RegisterConnectionManagerRequest, options?: RpcOptions): UnaryCall<RegisterConnectionManagerRequest, RegisterConnectionManagerResult> {
|
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<RegisterConnectionManagerRequest, RegisterConnectionManagerResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListConnectionManager
|
|
*/
|
|
listConnectionManager(input: ListConnectionManagerRequest, options?: RpcOptions): UnaryCall<ListConnectionManagerRequest, ListConnectionManagerResult> {
|
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListConnectionManagerRequest, ListConnectionManagerResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
}
|