Files
npm-viz-sdk/viz-dashboard.client.ts
2026-04-07 12:19:16 +00:00

220 lines
12 KiB
TypeScript

// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-dashboard.proto" (package "vizapi", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { DashboardService } from "./viz-dashboard";
import type { CopyProjectDashboardResult } from "./viz-dashboard";
import type { CopyProjectDashboardRequest } from "./viz-dashboard";
import type { GetProjectDashboardResult } from "./viz-dashboard";
import type { GetProjectDashboardRequest } from "./viz-dashboard";
import type { UpdateProjectDashboardResult } from "./viz-dashboard";
import type { UpdateProjectDashboardRequest } from "./viz-dashboard";
import type { DeleteProjectDashboardResult } from "./viz-dashboard";
import type { DeleteProjectDashboardRequest } from "./viz-dashboard";
import type { ListProjectDashboardResult } from "./viz-dashboard";
import type { ListProjectDashboardRequest } from "./viz-dashboard";
import type { CreateProjectDashboardResult } from "./viz-dashboard";
import type { CreateProjectDashboardRequest } from "./viz-dashboard";
import type { SetOwnerDashboardResult } from "./viz-dashboard";
import type { SetOwnerDashboardRequest } from "./viz-dashboard";
import type { CopyDashboardResult } from "./viz-dashboard";
import type { CopyDashboardRequest } from "./viz-dashboard";
import type { GetDashboardResult } from "./viz-dashboard";
import type { GetDashboardRequest } from "./viz-dashboard";
import type { UpdateDashboardResult } from "./viz-dashboard";
import type { UpdateDashboardRequest } from "./viz-dashboard";
import type { DeleteDashboardsForProjectResult } from "./viz-dashboard";
import type { DeleteDashboardsForProjectRequest } from "./viz-dashboard";
import type { DeleteDashboardsForOrganisationResult } from "./viz-dashboard";
import type { DeleteDashboardsForOrganisationRequest } from "./viz-dashboard";
import type { DeleteDashboardResult } from "./viz-dashboard";
import type { DeleteDashboardRequest } from "./viz-dashboard";
import type { ListDashboardResult } from "./viz-dashboard";
import type { ListDashboardRequest } from "./viz-dashboard";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
import type { CreateDashboardResult } from "./viz-dashboard";
import type { CreateDashboardRequest } from "./viz-dashboard";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* @generated from protobuf service vizapi.DashboardService
*/
export interface IDashboardServiceClient {
/**
* @generated from protobuf rpc: Create
*/
create(input: CreateDashboardRequest, options?: RpcOptions): UnaryCall<CreateDashboardRequest, CreateDashboardResult>;
/**
* @generated from protobuf rpc: List
*/
list(input: ListDashboardRequest, options?: RpcOptions): UnaryCall<ListDashboardRequest, ListDashboardResult>;
/**
* @generated from protobuf rpc: Delete
*/
delete(input: DeleteDashboardRequest, options?: RpcOptions): UnaryCall<DeleteDashboardRequest, DeleteDashboardResult>;
/**
* @generated from protobuf rpc: DeleteDashboardsForOrganisation
*/
deleteDashboardsForOrganisation(input: DeleteDashboardsForOrganisationRequest, options?: RpcOptions): UnaryCall<DeleteDashboardsForOrganisationRequest, DeleteDashboardsForOrganisationResult>;
/**
* @generated from protobuf rpc: DeleteDashboardsForProject
*/
deleteDashboardsForProject(input: DeleteDashboardsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteDashboardsForProjectRequest, DeleteDashboardsForProjectResult>;
/**
* @generated from protobuf rpc: Update
*/
update(input: UpdateDashboardRequest, options?: RpcOptions): UnaryCall<UpdateDashboardRequest, UpdateDashboardResult>;
/**
* @generated from protobuf rpc: Get
*/
get(input: GetDashboardRequest, options?: RpcOptions): UnaryCall<GetDashboardRequest, GetDashboardResult>;
/**
* @generated from protobuf rpc: Copy
*/
copy(input: CopyDashboardRequest, options?: RpcOptions): UnaryCall<CopyDashboardRequest, CopyDashboardResult>;
/**
* @generated from protobuf rpc: SetOwner
*/
setOwner(input: SetOwnerDashboardRequest, options?: RpcOptions): UnaryCall<SetOwnerDashboardRequest, SetOwnerDashboardResult>;
/**
* @generated from protobuf rpc: CreateProject
*/
createProject(input: CreateProjectDashboardRequest, options?: RpcOptions): UnaryCall<CreateProjectDashboardRequest, CreateProjectDashboardResult>;
/**
* @generated from protobuf rpc: ListProject
*/
listProject(input: ListProjectDashboardRequest, options?: RpcOptions): UnaryCall<ListProjectDashboardRequest, ListProjectDashboardResult>;
/**
* @generated from protobuf rpc: DeleteProject
*/
deleteProject(input: DeleteProjectDashboardRequest, options?: RpcOptions): UnaryCall<DeleteProjectDashboardRequest, DeleteProjectDashboardResult>;
/**
* @generated from protobuf rpc: UpdateProject
*/
updateProject(input: UpdateProjectDashboardRequest, options?: RpcOptions): UnaryCall<UpdateProjectDashboardRequest, UpdateProjectDashboardResult>;
/**
* @generated from protobuf rpc: GetProject
*/
getProject(input: GetProjectDashboardRequest, options?: RpcOptions): UnaryCall<GetProjectDashboardRequest, GetProjectDashboardResult>;
/**
* @generated from protobuf rpc: CopyProject
*/
copyProject(input: CopyProjectDashboardRequest, options?: RpcOptions): UnaryCall<CopyProjectDashboardRequest, CopyProjectDashboardResult>;
}
/**
* @generated from protobuf service vizapi.DashboardService
*/
export class DashboardServiceClient implements IDashboardServiceClient, ServiceInfo {
typeName = DashboardService.typeName;
methods = DashboardService.methods;
options = DashboardService.options;
constructor(private readonly _transport: RpcTransport) {
}
/**
* @generated from protobuf rpc: Create
*/
create(input: CreateDashboardRequest, options?: RpcOptions): UnaryCall<CreateDashboardRequest, CreateDashboardResult> {
const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateDashboardRequest, CreateDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: List
*/
list(input: ListDashboardRequest, options?: RpcOptions): UnaryCall<ListDashboardRequest, ListDashboardResult> {
const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<ListDashboardRequest, ListDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Delete
*/
delete(input: DeleteDashboardRequest, options?: RpcOptions): UnaryCall<DeleteDashboardRequest, DeleteDashboardResult> {
const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteDashboardRequest, DeleteDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteDashboardsForOrganisation
*/
deleteDashboardsForOrganisation(input: DeleteDashboardsForOrganisationRequest, options?: RpcOptions): UnaryCall<DeleteDashboardsForOrganisationRequest, DeleteDashboardsForOrganisationResult> {
const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteDashboardsForOrganisationRequest, DeleteDashboardsForOrganisationResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteDashboardsForProject
*/
deleteDashboardsForProject(input: DeleteDashboardsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteDashboardsForProjectRequest, DeleteDashboardsForProjectResult> {
const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteDashboardsForProjectRequest, DeleteDashboardsForProjectResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Update
*/
update(input: UpdateDashboardRequest, options?: RpcOptions): UnaryCall<UpdateDashboardRequest, UpdateDashboardResult> {
const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateDashboardRequest, UpdateDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Get
*/
get(input: GetDashboardRequest, options?: RpcOptions): UnaryCall<GetDashboardRequest, GetDashboardResult> {
const method = this.methods[6], opt = this._transport.mergeOptions(options);
return stackIntercept<GetDashboardRequest, GetDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Copy
*/
copy(input: CopyDashboardRequest, options?: RpcOptions): UnaryCall<CopyDashboardRequest, CopyDashboardResult> {
const method = this.methods[7], opt = this._transport.mergeOptions(options);
return stackIntercept<CopyDashboardRequest, CopyDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: SetOwner
*/
setOwner(input: SetOwnerDashboardRequest, options?: RpcOptions): UnaryCall<SetOwnerDashboardRequest, SetOwnerDashboardResult> {
const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept<SetOwnerDashboardRequest, SetOwnerDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CreateProject
*/
createProject(input: CreateProjectDashboardRequest, options?: RpcOptions): UnaryCall<CreateProjectDashboardRequest, CreateProjectDashboardResult> {
const method = this.methods[9], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateProjectDashboardRequest, CreateProjectDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListProject
*/
listProject(input: ListProjectDashboardRequest, options?: RpcOptions): UnaryCall<ListProjectDashboardRequest, ListProjectDashboardResult> {
const method = this.methods[10], opt = this._transport.mergeOptions(options);
return stackIntercept<ListProjectDashboardRequest, ListProjectDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteProject
*/
deleteProject(input: DeleteProjectDashboardRequest, options?: RpcOptions): UnaryCall<DeleteProjectDashboardRequest, DeleteProjectDashboardResult> {
const method = this.methods[11], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteProjectDashboardRequest, DeleteProjectDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UpdateProject
*/
updateProject(input: UpdateProjectDashboardRequest, options?: RpcOptions): UnaryCall<UpdateProjectDashboardRequest, UpdateProjectDashboardResult> {
const method = this.methods[12], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateProjectDashboardRequest, UpdateProjectDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetProject
*/
getProject(input: GetProjectDashboardRequest, options?: RpcOptions): UnaryCall<GetProjectDashboardRequest, GetProjectDashboardResult> {
const method = this.methods[13], opt = this._transport.mergeOptions(options);
return stackIntercept<GetProjectDashboardRequest, GetProjectDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CopyProject
*/
copyProject(input: CopyProjectDashboardRequest, options?: RpcOptions): UnaryCall<CopyProjectDashboardRequest, CopyProjectDashboardResult> {
const method = this.methods[14], opt = this._transport.mergeOptions(options);
return stackIntercept<CopyProjectDashboardRequest, CopyProjectDashboardResult>("unary", this._transport, method, opt, input);
}
}