You've already forked npm-core-sdk
142 lines
7.3 KiB
TypeScript
142 lines
7.3 KiB
TypeScript
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
|
|
// @generated from protobuf file "model.proto" (package "api", syntax proto3)
|
|
// tslint:disable
|
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
import { ModelService } from "./model";
|
|
import type { GetEntitiesResult } from "./model";
|
|
import type { GetEntitiesRequest } from "./model";
|
|
import type { GetSiteEntityModelResult } from "./model";
|
|
import type { GetSiteEntityModelRequest } from "./model";
|
|
import type { GetSiteDataModelResult } from "./model";
|
|
import type { GetSiteDataModelRequest } from "./model";
|
|
import type { GetProjectEntityModelResult } from "./model";
|
|
import type { GetProjectEntityModelRequest } from "./model";
|
|
import type { GetProjectDataModelResult } from "./model";
|
|
import type { GetProjectDataModelRequest } from "./model";
|
|
import type { GetEntityModelResult } from "./model";
|
|
import type { GetEntityModelRequest } from "./model";
|
|
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
import type { GetDataModelResult } from "./model";
|
|
import type { GetDataModelRequest } from "./model";
|
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
/**
|
|
* @generated from protobuf service api.ModelService
|
|
*/
|
|
export interface IModelServiceClient {
|
|
/**
|
|
* @deprecated
|
|
* @generated from protobuf rpc: GetDataModel
|
|
*/
|
|
getDataModel(input: GetDataModelRequest, options?: RpcOptions): UnaryCall<GetDataModelRequest, GetDataModelResult>;
|
|
/**
|
|
* @deprecated
|
|
* @generated from protobuf rpc: GetEntityModel
|
|
*/
|
|
getEntityModel(input: GetEntityModelRequest, options?: RpcOptions): UnaryCall<GetEntityModelRequest, GetEntityModelResult>;
|
|
/**
|
|
* @generated from protobuf rpc: GetProjectDataModel
|
|
*/
|
|
getProjectDataModel(input: GetProjectDataModelRequest, options?: RpcOptions): UnaryCall<GetProjectDataModelRequest, GetProjectDataModelResult>;
|
|
/**
|
|
* @generated from protobuf rpc: GetProjectEntityModel
|
|
*/
|
|
getProjectEntityModel(input: GetProjectEntityModelRequest, options?: RpcOptions): UnaryCall<GetProjectEntityModelRequest, GetProjectEntityModelResult>;
|
|
/**
|
|
* @generated from protobuf rpc: GetSiteDataModel
|
|
*/
|
|
getSiteDataModel(input: GetSiteDataModelRequest, options?: RpcOptions): UnaryCall<GetSiteDataModelRequest, GetSiteDataModelResult>;
|
|
/**
|
|
* @generated from protobuf rpc: GetSiteEntityModel
|
|
*/
|
|
getSiteEntityModel(input: GetSiteEntityModelRequest, options?: RpcOptions): UnaryCall<GetSiteEntityModelRequest, GetSiteEntityModelResult>;
|
|
/**
|
|
* @generated from protobuf rpc: GetEntities
|
|
*/
|
|
getEntities(input: GetEntitiesRequest, options?: RpcOptions): UnaryCall<GetEntitiesRequest, GetEntitiesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: GetEntitiesWithMetadata
|
|
*/
|
|
getEntitiesWithMetadata(input: GetEntitiesRequest, options?: RpcOptions): UnaryCall<GetEntitiesRequest, GetEntitiesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: GetEntitiesWithDataRestriction
|
|
*/
|
|
getEntitiesWithDataRestriction(input: GetEntitiesRequest, options?: RpcOptions): UnaryCall<GetEntitiesRequest, GetEntitiesResult>;
|
|
}
|
|
/**
|
|
* @generated from protobuf service api.ModelService
|
|
*/
|
|
export class ModelServiceClient implements IModelServiceClient, ServiceInfo {
|
|
typeName = ModelService.typeName;
|
|
methods = ModelService.methods;
|
|
options = ModelService.options;
|
|
constructor(private readonly _transport: RpcTransport) {
|
|
}
|
|
/**
|
|
* @deprecated
|
|
* @generated from protobuf rpc: GetDataModel
|
|
*/
|
|
getDataModel(input: GetDataModelRequest, options?: RpcOptions): UnaryCall<GetDataModelRequest, GetDataModelResult> {
|
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetDataModelRequest, GetDataModelResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @deprecated
|
|
* @generated from protobuf rpc: GetEntityModel
|
|
*/
|
|
getEntityModel(input: GetEntityModelRequest, options?: RpcOptions): UnaryCall<GetEntityModelRequest, GetEntityModelResult> {
|
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetEntityModelRequest, GetEntityModelResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetProjectDataModel
|
|
*/
|
|
getProjectDataModel(input: GetProjectDataModelRequest, options?: RpcOptions): UnaryCall<GetProjectDataModelRequest, GetProjectDataModelResult> {
|
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetProjectDataModelRequest, GetProjectDataModelResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetProjectEntityModel
|
|
*/
|
|
getProjectEntityModel(input: GetProjectEntityModelRequest, options?: RpcOptions): UnaryCall<GetProjectEntityModelRequest, GetProjectEntityModelResult> {
|
|
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetProjectEntityModelRequest, GetProjectEntityModelResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetSiteDataModel
|
|
*/
|
|
getSiteDataModel(input: GetSiteDataModelRequest, options?: RpcOptions): UnaryCall<GetSiteDataModelRequest, GetSiteDataModelResult> {
|
|
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetSiteDataModelRequest, GetSiteDataModelResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetSiteEntityModel
|
|
*/
|
|
getSiteEntityModel(input: GetSiteEntityModelRequest, options?: RpcOptions): UnaryCall<GetSiteEntityModelRequest, GetSiteEntityModelResult> {
|
|
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetSiteEntityModelRequest, GetSiteEntityModelResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetEntities
|
|
*/
|
|
getEntities(input: GetEntitiesRequest, options?: RpcOptions): UnaryCall<GetEntitiesRequest, GetEntitiesResult> {
|
|
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetEntitiesRequest, GetEntitiesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetEntitiesWithMetadata
|
|
*/
|
|
getEntitiesWithMetadata(input: GetEntitiesRequest, options?: RpcOptions): UnaryCall<GetEntitiesRequest, GetEntitiesResult> {
|
|
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetEntitiesRequest, GetEntitiesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetEntitiesWithDataRestriction
|
|
*/
|
|
getEntitiesWithDataRestriction(input: GetEntitiesRequest, options?: RpcOptions): UnaryCall<GetEntitiesRequest, GetEntitiesResult> {
|
|
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetEntitiesRequest, GetEntitiesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
}
|