// @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; /** * @generated from protobuf rpc: List */ list(input: ListDashboardRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Delete */ delete(input: DeleteDashboardRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteDashboardsForOrganisation */ deleteDashboardsForOrganisation(input: DeleteDashboardsForOrganisationRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteDashboardsForProject */ deleteDashboardsForProject(input: DeleteDashboardsForProjectRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Update */ update(input: UpdateDashboardRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Get */ get(input: GetDashboardRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Copy */ copy(input: CopyDashboardRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SetOwner */ setOwner(input: SetOwnerDashboardRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CreateProject */ createProject(input: CreateProjectDashboardRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListProject */ listProject(input: ListProjectDashboardRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteProject */ deleteProject(input: DeleteProjectDashboardRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: UpdateProject */ updateProject(input: UpdateProjectDashboardRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetProject */ getProject(input: GetProjectDashboardRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CopyProject */ copyProject(input: CopyProjectDashboardRequest, options?: RpcOptions): UnaryCall; } /** * @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 { const method = this.methods[0], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: List */ list(input: ListDashboardRequest, 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: Delete */ delete(input: DeleteDashboardRequest, 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: DeleteDashboardsForOrganisation */ deleteDashboardsForOrganisation(input: DeleteDashboardsForOrganisationRequest, 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: DeleteDashboardsForProject */ deleteDashboardsForProject(input: DeleteDashboardsForProjectRequest, 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: Update */ update(input: UpdateDashboardRequest, 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: Get */ get(input: GetDashboardRequest, 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: Copy */ copy(input: CopyDashboardRequest, 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: SetOwner */ setOwner(input: SetOwnerDashboardRequest, 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: CreateProject */ createProject(input: CreateProjectDashboardRequest, options?: RpcOptions): UnaryCall { const method = this.methods[9], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListProject */ listProject(input: ListProjectDashboardRequest, options?: RpcOptions): UnaryCall { const method = this.methods[10], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: DeleteProject */ deleteProject(input: DeleteProjectDashboardRequest, options?: RpcOptions): UnaryCall { const method = this.methods[11], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: UpdateProject */ updateProject(input: UpdateProjectDashboardRequest, options?: RpcOptions): UnaryCall { const method = this.methods[12], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: GetProject */ getProject(input: GetProjectDashboardRequest, options?: RpcOptions): UnaryCall { const method = this.methods[13], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: CopyProject */ copyProject(input: CopyProjectDashboardRequest, options?: RpcOptions): UnaryCall { const method = this.methods[14], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }