You've already forked npm-viz-sdk
129 lines
8.0 KiB
TypeScript
129 lines
8.0 KiB
TypeScript
// @generated by protobuf-ts 2.10.0 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 { 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(vizapi.CreateDashboardRequest) returns (vizapi.CreateDashboardResult);
|
|
*/
|
|
create(input: CreateDashboardRequest, options?: RpcOptions): UnaryCall<CreateDashboardRequest, CreateDashboardResult>;
|
|
/**
|
|
* @generated from protobuf rpc: List(vizapi.ListDashboardRequest) returns (vizapi.ListDashboardResult);
|
|
*/
|
|
list(input: ListDashboardRequest, options?: RpcOptions): UnaryCall<ListDashboardRequest, ListDashboardResult>;
|
|
/**
|
|
* @generated from protobuf rpc: Delete(vizapi.DeleteDashboardRequest) returns (vizapi.DeleteDashboardResult);
|
|
*/
|
|
delete(input: DeleteDashboardRequest, options?: RpcOptions): UnaryCall<DeleteDashboardRequest, DeleteDashboardResult>;
|
|
/**
|
|
* @generated from protobuf rpc: DeleteDashboardsForOrganisation(vizapi.DeleteDashboardsForOrganisationRequest) returns (vizapi.DeleteDashboardsForOrganisationResult);
|
|
*/
|
|
deleteDashboardsForOrganisation(input: DeleteDashboardsForOrganisationRequest, options?: RpcOptions): UnaryCall<DeleteDashboardsForOrganisationRequest, DeleteDashboardsForOrganisationResult>;
|
|
/**
|
|
* @generated from protobuf rpc: DeleteDashboardsForProject(vizapi.DeleteDashboardsForProjectRequest) returns (vizapi.DeleteDashboardsForProjectResult);
|
|
*/
|
|
deleteDashboardsForProject(input: DeleteDashboardsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteDashboardsForProjectRequest, DeleteDashboardsForProjectResult>;
|
|
/**
|
|
* @generated from protobuf rpc: Update(vizapi.UpdateDashboardRequest) returns (vizapi.UpdateDashboardResult);
|
|
*/
|
|
update(input: UpdateDashboardRequest, options?: RpcOptions): UnaryCall<UpdateDashboardRequest, UpdateDashboardResult>;
|
|
/**
|
|
* @generated from protobuf rpc: Get(vizapi.GetDashboardRequest) returns (vizapi.GetDashboardResult);
|
|
*/
|
|
get(input: GetDashboardRequest, options?: RpcOptions): UnaryCall<GetDashboardRequest, GetDashboardResult>;
|
|
/**
|
|
* @generated from protobuf rpc: Copy(vizapi.CopyDashboardRequest) returns (vizapi.CopyDashboardResult);
|
|
*/
|
|
copy(input: CopyDashboardRequest, options?: RpcOptions): UnaryCall<CopyDashboardRequest, CopyDashboardResult>;
|
|
}
|
|
/**
|
|
* @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(vizapi.CreateDashboardRequest) returns (vizapi.CreateDashboardResult);
|
|
*/
|
|
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(vizapi.ListDashboardRequest) returns (vizapi.ListDashboardResult);
|
|
*/
|
|
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(vizapi.DeleteDashboardRequest) returns (vizapi.DeleteDashboardResult);
|
|
*/
|
|
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(vizapi.DeleteDashboardsForOrganisationRequest) returns (vizapi.DeleteDashboardsForOrganisationResult);
|
|
*/
|
|
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(vizapi.DeleteDashboardsForProjectRequest) returns (vizapi.DeleteDashboardsForProjectResult);
|
|
*/
|
|
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(vizapi.UpdateDashboardRequest) returns (vizapi.UpdateDashboardResult);
|
|
*/
|
|
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(vizapi.GetDashboardRequest) returns (vizapi.GetDashboardResult);
|
|
*/
|
|
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(vizapi.CopyDashboardRequest) returns (vizapi.CopyDashboardResult);
|
|
*/
|
|
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);
|
|
}
|
|
}
|