You've already forked npm-viz-sdk
285 lines
14 KiB
TypeScript
285 lines
14 KiB
TypeScript
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
|
|
// @generated from protobuf file "viz-view.proto" (package "vizapi", syntax proto3)
|
|
// tslint:disable
|
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
import { ViewService } from "./viz-view";
|
|
import type { DeleteViewsForSiteResult } from "./viz-view";
|
|
import type { DeleteViewsForSiteRequest } from "./viz-view";
|
|
import type { ExtractSiteResult } from "./viz-view";
|
|
import type { ExtractSiteRequest } from "./viz-view";
|
|
import type { ListSiteViewResult } from "./viz-view";
|
|
import type { ListSiteViewRequest } from "./viz-view";
|
|
import type { DeleteSiteViewResult } from "./viz-view";
|
|
import type { DeleteSiteViewRequest } from "./viz-view";
|
|
import type { UpdateSiteViewResult } from "./viz-view";
|
|
import type { UpdateSiteViewRequest } from "./viz-view";
|
|
import type { CreateSiteViewResult } from "./viz-view";
|
|
import type { CreateSiteViewRequest } from "./viz-view";
|
|
import type { GetSiteViewResult } from "./viz-view";
|
|
import type { GetSiteViewRequest } from "./viz-view";
|
|
import type { ExtractProjectResult } from "./viz-view";
|
|
import type { ExtractProjectRequest } from "./viz-view";
|
|
import type { ListProjectViewResult } from "./viz-view";
|
|
import type { ListProjectViewRequest } from "./viz-view";
|
|
import type { DeleteProjectViewResult } from "./viz-view";
|
|
import type { DeleteProjectViewRequest } from "./viz-view";
|
|
import type { UpdateProjectViewResult } from "./viz-view";
|
|
import type { UpdateProjectViewRequest } from "./viz-view";
|
|
import type { CreateProjectViewResult } from "./viz-view";
|
|
import type { CreateProjectViewRequest } from "./viz-view";
|
|
import type { GetProjectViewResult } from "./viz-view";
|
|
import type { GetProjectViewRequest } from "./viz-view";
|
|
import type { ExtractResult } from "./viz-view";
|
|
import type { ExtractRequest } from "./viz-view";
|
|
import type { DeleteViewsForProjectResult } from "./viz-view";
|
|
import type { DeleteViewsForProjectRequest } from "./viz-view";
|
|
import type { ListViewResult } from "./viz-view";
|
|
import type { ListViewRequest } from "./viz-view";
|
|
import type { DeleteViewResult } from "./viz-view";
|
|
import type { DeleteViewRequest } from "./viz-view";
|
|
import type { UpdateViewResult } from "./viz-view";
|
|
import type { UpdateViewRequest } from "./viz-view";
|
|
import type { CreateViewResult } from "./viz-view";
|
|
import type { CreateViewRequest } from "./viz-view";
|
|
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
import type { GetViewResult } from "./viz-view";
|
|
import type { GetViewRequest } from "./viz-view";
|
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
/**
|
|
* @generated from protobuf service vizapi.ViewService
|
|
*/
|
|
export interface IViewServiceClient {
|
|
/**
|
|
* @generated from protobuf rpc: Get
|
|
*/
|
|
get(input: GetViewRequest, options?: RpcOptions): UnaryCall<GetViewRequest, GetViewResult>;
|
|
/**
|
|
* @generated from protobuf rpc: Create
|
|
*/
|
|
create(input: CreateViewRequest, options?: RpcOptions): UnaryCall<CreateViewRequest, CreateViewResult>;
|
|
/**
|
|
* @generated from protobuf rpc: Update
|
|
*/
|
|
update(input: UpdateViewRequest, options?: RpcOptions): UnaryCall<UpdateViewRequest, UpdateViewResult>;
|
|
/**
|
|
* @generated from protobuf rpc: Delete
|
|
*/
|
|
delete(input: DeleteViewRequest, options?: RpcOptions): UnaryCall<DeleteViewRequest, DeleteViewResult>;
|
|
/**
|
|
* @generated from protobuf rpc: List
|
|
*/
|
|
list(input: ListViewRequest, options?: RpcOptions): UnaryCall<ListViewRequest, ListViewResult>;
|
|
/**
|
|
* @generated from protobuf rpc: DeleteViewsForProject
|
|
*/
|
|
deleteViewsForProject(input: DeleteViewsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteViewsForProjectRequest, DeleteViewsForProjectResult>;
|
|
/**
|
|
* @generated from protobuf rpc: Extract
|
|
*/
|
|
extract(input: ExtractRequest, options?: RpcOptions): UnaryCall<ExtractRequest, ExtractResult>;
|
|
/**
|
|
* @generated from protobuf rpc: GetProject
|
|
*/
|
|
getProject(input: GetProjectViewRequest, options?: RpcOptions): UnaryCall<GetProjectViewRequest, GetProjectViewResult>;
|
|
/**
|
|
* @generated from protobuf rpc: CreateProject
|
|
*/
|
|
createProject(input: CreateProjectViewRequest, options?: RpcOptions): UnaryCall<CreateProjectViewRequest, CreateProjectViewResult>;
|
|
/**
|
|
* @generated from protobuf rpc: UpdateProject
|
|
*/
|
|
updateProject(input: UpdateProjectViewRequest, options?: RpcOptions): UnaryCall<UpdateProjectViewRequest, UpdateProjectViewResult>;
|
|
/**
|
|
* @generated from protobuf rpc: DeleteProject
|
|
*/
|
|
deleteProject(input: DeleteProjectViewRequest, options?: RpcOptions): UnaryCall<DeleteProjectViewRequest, DeleteProjectViewResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListProject
|
|
*/
|
|
listProject(input: ListProjectViewRequest, options?: RpcOptions): UnaryCall<ListProjectViewRequest, ListProjectViewResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ExtractProject
|
|
*/
|
|
extractProject(input: ExtractProjectRequest, options?: RpcOptions): UnaryCall<ExtractProjectRequest, ExtractProjectResult>;
|
|
/**
|
|
* @generated from protobuf rpc: GetSite
|
|
*/
|
|
getSite(input: GetSiteViewRequest, options?: RpcOptions): UnaryCall<GetSiteViewRequest, GetSiteViewResult>;
|
|
/**
|
|
* @generated from protobuf rpc: CreateSite
|
|
*/
|
|
createSite(input: CreateSiteViewRequest, options?: RpcOptions): UnaryCall<CreateSiteViewRequest, CreateSiteViewResult>;
|
|
/**
|
|
* @generated from protobuf rpc: UpdateSite
|
|
*/
|
|
updateSite(input: UpdateSiteViewRequest, options?: RpcOptions): UnaryCall<UpdateSiteViewRequest, UpdateSiteViewResult>;
|
|
/**
|
|
* @generated from protobuf rpc: DeleteSite
|
|
*/
|
|
deleteSite(input: DeleteSiteViewRequest, options?: RpcOptions): UnaryCall<DeleteSiteViewRequest, DeleteSiteViewResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListSite
|
|
*/
|
|
listSite(input: ListSiteViewRequest, options?: RpcOptions): UnaryCall<ListSiteViewRequest, ListSiteViewResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ExtractSite
|
|
*/
|
|
extractSite(input: ExtractSiteRequest, options?: RpcOptions): UnaryCall<ExtractSiteRequest, ExtractSiteResult>;
|
|
/**
|
|
* @generated from protobuf rpc: DeleteViewsForSite
|
|
*/
|
|
deleteViewsForSite(input: DeleteViewsForSiteRequest, options?: RpcOptions): UnaryCall<DeleteViewsForSiteRequest, DeleteViewsForSiteResult>;
|
|
}
|
|
/**
|
|
* @generated from protobuf service vizapi.ViewService
|
|
*/
|
|
export class ViewServiceClient implements IViewServiceClient, ServiceInfo {
|
|
typeName = ViewService.typeName;
|
|
methods = ViewService.methods;
|
|
options = ViewService.options;
|
|
constructor(private readonly _transport: RpcTransport) {
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Get
|
|
*/
|
|
get(input: GetViewRequest, options?: RpcOptions): UnaryCall<GetViewRequest, GetViewResult> {
|
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetViewRequest, GetViewResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Create
|
|
*/
|
|
create(input: CreateViewRequest, options?: RpcOptions): UnaryCall<CreateViewRequest, CreateViewResult> {
|
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<CreateViewRequest, CreateViewResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Update
|
|
*/
|
|
update(input: UpdateViewRequest, options?: RpcOptions): UnaryCall<UpdateViewRequest, UpdateViewResult> {
|
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<UpdateViewRequest, UpdateViewResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Delete
|
|
*/
|
|
delete(input: DeleteViewRequest, options?: RpcOptions): UnaryCall<DeleteViewRequest, DeleteViewResult> {
|
|
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<DeleteViewRequest, DeleteViewResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: List
|
|
*/
|
|
list(input: ListViewRequest, options?: RpcOptions): UnaryCall<ListViewRequest, ListViewResult> {
|
|
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListViewRequest, ListViewResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: DeleteViewsForProject
|
|
*/
|
|
deleteViewsForProject(input: DeleteViewsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteViewsForProjectRequest, DeleteViewsForProjectResult> {
|
|
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<DeleteViewsForProjectRequest, DeleteViewsForProjectResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Extract
|
|
*/
|
|
extract(input: ExtractRequest, options?: RpcOptions): UnaryCall<ExtractRequest, ExtractResult> {
|
|
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ExtractRequest, ExtractResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetProject
|
|
*/
|
|
getProject(input: GetProjectViewRequest, options?: RpcOptions): UnaryCall<GetProjectViewRequest, GetProjectViewResult> {
|
|
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetProjectViewRequest, GetProjectViewResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: CreateProject
|
|
*/
|
|
createProject(input: CreateProjectViewRequest, options?: RpcOptions): UnaryCall<CreateProjectViewRequest, CreateProjectViewResult> {
|
|
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<CreateProjectViewRequest, CreateProjectViewResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: UpdateProject
|
|
*/
|
|
updateProject(input: UpdateProjectViewRequest, options?: RpcOptions): UnaryCall<UpdateProjectViewRequest, UpdateProjectViewResult> {
|
|
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<UpdateProjectViewRequest, UpdateProjectViewResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: DeleteProject
|
|
*/
|
|
deleteProject(input: DeleteProjectViewRequest, options?: RpcOptions): UnaryCall<DeleteProjectViewRequest, DeleteProjectViewResult> {
|
|
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<DeleteProjectViewRequest, DeleteProjectViewResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListProject
|
|
*/
|
|
listProject(input: ListProjectViewRequest, options?: RpcOptions): UnaryCall<ListProjectViewRequest, ListProjectViewResult> {
|
|
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListProjectViewRequest, ListProjectViewResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ExtractProject
|
|
*/
|
|
extractProject(input: ExtractProjectRequest, options?: RpcOptions): UnaryCall<ExtractProjectRequest, ExtractProjectResult> {
|
|
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ExtractProjectRequest, ExtractProjectResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetSite
|
|
*/
|
|
getSite(input: GetSiteViewRequest, options?: RpcOptions): UnaryCall<GetSiteViewRequest, GetSiteViewResult> {
|
|
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetSiteViewRequest, GetSiteViewResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: CreateSite
|
|
*/
|
|
createSite(input: CreateSiteViewRequest, options?: RpcOptions): UnaryCall<CreateSiteViewRequest, CreateSiteViewResult> {
|
|
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<CreateSiteViewRequest, CreateSiteViewResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: UpdateSite
|
|
*/
|
|
updateSite(input: UpdateSiteViewRequest, options?: RpcOptions): UnaryCall<UpdateSiteViewRequest, UpdateSiteViewResult> {
|
|
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<UpdateSiteViewRequest, UpdateSiteViewResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: DeleteSite
|
|
*/
|
|
deleteSite(input: DeleteSiteViewRequest, options?: RpcOptions): UnaryCall<DeleteSiteViewRequest, DeleteSiteViewResult> {
|
|
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<DeleteSiteViewRequest, DeleteSiteViewResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListSite
|
|
*/
|
|
listSite(input: ListSiteViewRequest, options?: RpcOptions): UnaryCall<ListSiteViewRequest, ListSiteViewResult> {
|
|
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListSiteViewRequest, ListSiteViewResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ExtractSite
|
|
*/
|
|
extractSite(input: ExtractSiteRequest, options?: RpcOptions): UnaryCall<ExtractSiteRequest, ExtractSiteResult> {
|
|
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ExtractSiteRequest, ExtractSiteResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: DeleteViewsForSite
|
|
*/
|
|
deleteViewsForSite(input: DeleteViewsForSiteRequest, options?: RpcOptions): UnaryCall<DeleteViewsForSiteRequest, DeleteViewsForSiteResult> {
|
|
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<DeleteViewsForSiteRequest, DeleteViewsForSiteResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
}
|