You've already forked npm-core-sdk
244 lines
15 KiB
TypeScript
244 lines
15 KiB
TypeScript
// @generated by protobuf-ts 2.9.6
|
|
// @generated from protobuf file "proj.proto" (package "api", syntax proto3)
|
|
// tslint:disable
|
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
import { ProjectService } from "./proj";
|
|
import type { CleanDeletedProjectsResult } from "./proj";
|
|
import type { CleanDeletedProjectsRequest } from "./proj";
|
|
import type { OptimizeClickhouseResult } from "./proj";
|
|
import type { OptimizeClickhouseRequest } from "./proj";
|
|
import type { DeleteCassandraResult } from "./proj";
|
|
import type { DeleteCassandraRequest } from "./proj";
|
|
import type { DeleteProjectInDBResult } from "./proj";
|
|
import type { DeleteProjectInDBRequest } from "./proj";
|
|
import type { GetMyContextResult } from "./proj";
|
|
import type { GetMyContextRequest } from "./proj";
|
|
import type { SuggestProjectIDResult } from "./proj";
|
|
import type { SuggestProjectIDRequest } from "./proj";
|
|
import type { DeleteClickhouseResult } from "./proj";
|
|
import type { DeleteClickhouseRequest } from "./proj";
|
|
import type { CreateClickhouseResult } from "./proj";
|
|
import type { CreateClickhouseRequest } from "./proj";
|
|
import type { DeleteProjectResult } from "./proj";
|
|
import type { DeleteProjectRequest } from "./proj";
|
|
import type { UpdateProjectStatusResult } from "./proj";
|
|
import type { UpdateProjectStatusRequest } from "./proj";
|
|
import type { UpdateProjectResult } from "./proj";
|
|
import type { UpdateProjectRequest } from "./proj";
|
|
import type { SetModulesProjectResult } from "./proj";
|
|
import type { SetModulesProjectRequest } from "./proj";
|
|
import type { CreateProjectResult } from "./proj";
|
|
import type { CreateProjectRequest } from "./proj";
|
|
import type { ListAllProjectResult } from "./proj";
|
|
import type { ListAllProjectRequest } from "./proj";
|
|
import type { ListProjectResult } from "./proj";
|
|
import type { ListProjectRequest } from "./proj";
|
|
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
import type { GetProjectResult } from "./proj";
|
|
import type { GetProjectRequest } from "./proj";
|
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
/**
|
|
* @generated from protobuf service api.ProjectService
|
|
*/
|
|
export interface IProjectServiceClient {
|
|
/**
|
|
* @generated from protobuf rpc: Get(api.GetProjectRequest) returns (api.GetProjectResult);
|
|
*/
|
|
get(input: GetProjectRequest, options?: RpcOptions): UnaryCall<GetProjectRequest, GetProjectResult>;
|
|
/**
|
|
* @generated from protobuf rpc: List(api.ListProjectRequest) returns (api.ListProjectResult);
|
|
*/
|
|
list(input: ListProjectRequest, options?: RpcOptions): UnaryCall<ListProjectRequest, ListProjectResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListAll(api.ListAllProjectRequest) returns (api.ListAllProjectResult);
|
|
*/
|
|
listAll(input: ListAllProjectRequest, options?: RpcOptions): UnaryCall<ListAllProjectRequest, ListAllProjectResult>;
|
|
/**
|
|
* @generated from protobuf rpc: Create(api.CreateProjectRequest) returns (api.CreateProjectResult);
|
|
*/
|
|
create(input: CreateProjectRequest, options?: RpcOptions): UnaryCall<CreateProjectRequest, CreateProjectResult>;
|
|
/**
|
|
* @generated from protobuf rpc: SetModules(api.SetModulesProjectRequest) returns (api.SetModulesProjectResult);
|
|
*/
|
|
setModules(input: SetModulesProjectRequest, options?: RpcOptions): UnaryCall<SetModulesProjectRequest, SetModulesProjectResult>;
|
|
/**
|
|
* @generated from protobuf rpc: Update(api.UpdateProjectRequest) returns (api.UpdateProjectResult);
|
|
*/
|
|
update(input: UpdateProjectRequest, options?: RpcOptions): UnaryCall<UpdateProjectRequest, UpdateProjectResult>;
|
|
/**
|
|
* @generated from protobuf rpc: UpdateStatus(api.UpdateProjectStatusRequest) returns (api.UpdateProjectStatusResult);
|
|
*/
|
|
updateStatus(input: UpdateProjectStatusRequest, options?: RpcOptions): UnaryCall<UpdateProjectStatusRequest, UpdateProjectStatusResult>;
|
|
/**
|
|
* @generated from protobuf rpc: Delete(api.DeleteProjectRequest) returns (api.DeleteProjectResult);
|
|
*/
|
|
delete(input: DeleteProjectRequest, options?: RpcOptions): UnaryCall<DeleteProjectRequest, DeleteProjectResult>;
|
|
/**
|
|
* @generated from protobuf rpc: CreateClickhouse(api.CreateClickhouseRequest) returns (api.CreateClickhouseResult);
|
|
*/
|
|
createClickhouse(input: CreateClickhouseRequest, options?: RpcOptions): UnaryCall<CreateClickhouseRequest, CreateClickhouseResult>;
|
|
/**
|
|
* @generated from protobuf rpc: DeleteClickhouse(api.DeleteClickhouseRequest) returns (api.DeleteClickhouseResult);
|
|
*/
|
|
deleteClickhouse(input: DeleteClickhouseRequest, options?: RpcOptions): UnaryCall<DeleteClickhouseRequest, DeleteClickhouseResult>;
|
|
/**
|
|
* @generated from protobuf rpc: SuggestID(api.SuggestProjectIDRequest) returns (api.SuggestProjectIDResult);
|
|
*/
|
|
suggestID(input: SuggestProjectIDRequest, options?: RpcOptions): UnaryCall<SuggestProjectIDRequest, SuggestProjectIDResult>;
|
|
/**
|
|
* @generated from protobuf rpc: GetMyUIContext(api.GetMyContextRequest) returns (api.GetMyContextResult);
|
|
*/
|
|
getMyUIContext(input: GetMyContextRequest, options?: RpcOptions): UnaryCall<GetMyContextRequest, GetMyContextResult>;
|
|
/**
|
|
* @generated from protobuf rpc: GetMyContext(api.GetMyContextRequest) returns (api.GetMyContextResult);
|
|
*/
|
|
getMyContext(input: GetMyContextRequest, options?: RpcOptions): UnaryCall<GetMyContextRequest, GetMyContextResult>;
|
|
/**
|
|
* @generated from protobuf rpc: DeleteProjectInDB(api.DeleteProjectInDBRequest) returns (api.DeleteProjectInDBResult);
|
|
*/
|
|
deleteProjectInDB(input: DeleteProjectInDBRequest, options?: RpcOptions): UnaryCall<DeleteProjectInDBRequest, DeleteProjectInDBResult>;
|
|
/**
|
|
* @generated from protobuf rpc: DeleteCassandra(api.DeleteCassandraRequest) returns (api.DeleteCassandraResult);
|
|
*/
|
|
deleteCassandra(input: DeleteCassandraRequest, options?: RpcOptions): UnaryCall<DeleteCassandraRequest, DeleteCassandraResult>;
|
|
/**
|
|
* @generated from protobuf rpc: OptimizeClickhouse(api.OptimizeClickhouseRequest) returns (api.OptimizeClickhouseResult);
|
|
*/
|
|
optimizeClickhouse(input: OptimizeClickhouseRequest, options?: RpcOptions): UnaryCall<OptimizeClickhouseRequest, OptimizeClickhouseResult>;
|
|
/**
|
|
* @generated from protobuf rpc: CleanDeletedProjects(api.CleanDeletedProjectsRequest) returns (api.CleanDeletedProjectsResult);
|
|
*/
|
|
cleanDeletedProjects(input: CleanDeletedProjectsRequest, options?: RpcOptions): UnaryCall<CleanDeletedProjectsRequest, CleanDeletedProjectsResult>;
|
|
}
|
|
/**
|
|
* @generated from protobuf service api.ProjectService
|
|
*/
|
|
export class ProjectServiceClient implements IProjectServiceClient, ServiceInfo {
|
|
typeName = ProjectService.typeName;
|
|
methods = ProjectService.methods;
|
|
options = ProjectService.options;
|
|
constructor(private readonly _transport: RpcTransport) {
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Get(api.GetProjectRequest) returns (api.GetProjectResult);
|
|
*/
|
|
get(input: GetProjectRequest, options?: RpcOptions): UnaryCall<GetProjectRequest, GetProjectResult> {
|
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetProjectRequest, GetProjectResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: List(api.ListProjectRequest) returns (api.ListProjectResult);
|
|
*/
|
|
list(input: ListProjectRequest, options?: RpcOptions): UnaryCall<ListProjectRequest, ListProjectResult> {
|
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListProjectRequest, ListProjectResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListAll(api.ListAllProjectRequest) returns (api.ListAllProjectResult);
|
|
*/
|
|
listAll(input: ListAllProjectRequest, options?: RpcOptions): UnaryCall<ListAllProjectRequest, ListAllProjectResult> {
|
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListAllProjectRequest, ListAllProjectResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Create(api.CreateProjectRequest) returns (api.CreateProjectResult);
|
|
*/
|
|
create(input: CreateProjectRequest, options?: RpcOptions): UnaryCall<CreateProjectRequest, CreateProjectResult> {
|
|
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<CreateProjectRequest, CreateProjectResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: SetModules(api.SetModulesProjectRequest) returns (api.SetModulesProjectResult);
|
|
*/
|
|
setModules(input: SetModulesProjectRequest, options?: RpcOptions): UnaryCall<SetModulesProjectRequest, SetModulesProjectResult> {
|
|
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<SetModulesProjectRequest, SetModulesProjectResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Update(api.UpdateProjectRequest) returns (api.UpdateProjectResult);
|
|
*/
|
|
update(input: UpdateProjectRequest, options?: RpcOptions): UnaryCall<UpdateProjectRequest, UpdateProjectResult> {
|
|
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<UpdateProjectRequest, UpdateProjectResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: UpdateStatus(api.UpdateProjectStatusRequest) returns (api.UpdateProjectStatusResult);
|
|
*/
|
|
updateStatus(input: UpdateProjectStatusRequest, options?: RpcOptions): UnaryCall<UpdateProjectStatusRequest, UpdateProjectStatusResult> {
|
|
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<UpdateProjectStatusRequest, UpdateProjectStatusResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Delete(api.DeleteProjectRequest) returns (api.DeleteProjectResult);
|
|
*/
|
|
delete(input: DeleteProjectRequest, options?: RpcOptions): UnaryCall<DeleteProjectRequest, DeleteProjectResult> {
|
|
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<DeleteProjectRequest, DeleteProjectResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: CreateClickhouse(api.CreateClickhouseRequest) returns (api.CreateClickhouseResult);
|
|
*/
|
|
createClickhouse(input: CreateClickhouseRequest, options?: RpcOptions): UnaryCall<CreateClickhouseRequest, CreateClickhouseResult> {
|
|
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<CreateClickhouseRequest, CreateClickhouseResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: DeleteClickhouse(api.DeleteClickhouseRequest) returns (api.DeleteClickhouseResult);
|
|
*/
|
|
deleteClickhouse(input: DeleteClickhouseRequest, options?: RpcOptions): UnaryCall<DeleteClickhouseRequest, DeleteClickhouseResult> {
|
|
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<DeleteClickhouseRequest, DeleteClickhouseResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: SuggestID(api.SuggestProjectIDRequest) returns (api.SuggestProjectIDResult);
|
|
*/
|
|
suggestID(input: SuggestProjectIDRequest, options?: RpcOptions): UnaryCall<SuggestProjectIDRequest, SuggestProjectIDResult> {
|
|
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<SuggestProjectIDRequest, SuggestProjectIDResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetMyUIContext(api.GetMyContextRequest) returns (api.GetMyContextResult);
|
|
*/
|
|
getMyUIContext(input: GetMyContextRequest, options?: RpcOptions): UnaryCall<GetMyContextRequest, GetMyContextResult> {
|
|
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetMyContextRequest, GetMyContextResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetMyContext(api.GetMyContextRequest) returns (api.GetMyContextResult);
|
|
*/
|
|
getMyContext(input: GetMyContextRequest, options?: RpcOptions): UnaryCall<GetMyContextRequest, GetMyContextResult> {
|
|
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetMyContextRequest, GetMyContextResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: DeleteProjectInDB(api.DeleteProjectInDBRequest) returns (api.DeleteProjectInDBResult);
|
|
*/
|
|
deleteProjectInDB(input: DeleteProjectInDBRequest, options?: RpcOptions): UnaryCall<DeleteProjectInDBRequest, DeleteProjectInDBResult> {
|
|
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<DeleteProjectInDBRequest, DeleteProjectInDBResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: DeleteCassandra(api.DeleteCassandraRequest) returns (api.DeleteCassandraResult);
|
|
*/
|
|
deleteCassandra(input: DeleteCassandraRequest, options?: RpcOptions): UnaryCall<DeleteCassandraRequest, DeleteCassandraResult> {
|
|
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<DeleteCassandraRequest, DeleteCassandraResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: OptimizeClickhouse(api.OptimizeClickhouseRequest) returns (api.OptimizeClickhouseResult);
|
|
*/
|
|
optimizeClickhouse(input: OptimizeClickhouseRequest, options?: RpcOptions): UnaryCall<OptimizeClickhouseRequest, OptimizeClickhouseResult> {
|
|
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<OptimizeClickhouseRequest, OptimizeClickhouseResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: CleanDeletedProjects(api.CleanDeletedProjectsRequest) returns (api.CleanDeletedProjectsResult);
|
|
*/
|
|
cleanDeletedProjects(input: CleanDeletedProjectsRequest, options?: RpcOptions): UnaryCall<CleanDeletedProjectsRequest, CleanDeletedProjectsResult> {
|
|
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<CleanDeletedProjectsRequest, CleanDeletedProjectsResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
}
|