Files
npm-core-sdk/metadatadef.client.ts
2025-06-19 09:15:58 +00:00

284 lines
16 KiB
TypeScript

// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
// @generated from protobuf file "metadatadef.proto" (package "api", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { MetadataService } from "./metadatadef";
import type { RestoreMetadatasResult } from "./metadatadef";
import type { RestoreMetadatasRequest } from "./metadatadef";
import type { GetSiteTransitiveMetadatasResult } from "./metadatadef";
import type { GetSiteTransitiveMetadatasRequest } from "./metadatadef";
import type { GetSiteMetadataCountResult } from "./metadatadef";
import type { GetSiteMetadataCountRequest } from "./metadatadef";
import type { DeleteSiteMetadatasResult } from "./metadatadef";
import type { DeleteSiteMetadatasRequest } from "./metadatadef";
import type { GetSiteMetadatasResult } from "./metadatadef";
import type { GetSiteMetadatasRequest } from "./metadatadef";
import type { UpdateSiteMetadataResult } from "./metadatadef";
import type { UpdateSiteMetadataRequest } from "./metadatadef";
import type { CreateSiteMetadataResult } from "./metadatadef";
import type { CreateSiteMetadataRequest } from "./metadatadef";
import type { GetProjectTransitiveMetadatasResult } from "./metadatadef";
import type { GetProjectTransitiveMetadatasRequest } from "./metadatadef";
import type { GetProjectMetadataCountResult } from "./metadatadef";
import type { GetProjectMetadataCountRequest } from "./metadatadef";
import type { DeleteProjectMetadatasResult } from "./metadatadef";
import type { DeleteProjectMetadatasRequest } from "./metadatadef";
import type { GetProjectMetadatasResult } from "./metadatadef";
import type { GetProjectMetadatasRequest } from "./metadatadef";
import type { UpdateProjectMetadataResult } from "./metadatadef";
import type { UpdateProjectMetadataRequest } from "./metadatadef";
import type { CreateProjectMetadataResult } from "./metadatadef";
import type { CreateProjectMetadataRequest } from "./metadatadef";
import type { GetTransitiveMetadatasResult } from "./metadatadef";
import type { GetTransitiveMetadatasRequest } from "./metadatadef";
import type { GetMetadataCountResult } from "./metadatadef";
import type { GetMetadataCountRequest } from "./metadatadef";
import type { DeleteMetadatasResult } from "./metadatadef";
import type { DeleteMetadatasRequest } from "./metadatadef";
import type { GetMetadatasResult } from "./metadatadef";
import type { GetMetadatasRequest } from "./metadatadef";
import type { UpdateMetadataResult } from "./metadatadef";
import type { UpdateMetadataRequest } from "./metadatadef";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
import type { CreateMetadataResult } from "./metadatadef";
import type { CreateMetadataRequest } from "./metadatadef";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* @generated from protobuf service api.MetadataService
*/
export interface IMetadataServiceClient {
/**
* @deprecated
* @generated from protobuf rpc: CreateMetadata
*/
createMetadata(input: CreateMetadataRequest, options?: RpcOptions): UnaryCall<CreateMetadataRequest, CreateMetadataResult>;
/**
* @deprecated
* @generated from protobuf rpc: UpdateMetadata
*/
updateMetadata(input: UpdateMetadataRequest, options?: RpcOptions): UnaryCall<UpdateMetadataRequest, UpdateMetadataResult>;
/**
* @deprecated
* @generated from protobuf rpc: GetMetadatas
*/
getMetadatas(input: GetMetadatasRequest, options?: RpcOptions): UnaryCall<GetMetadatasRequest, GetMetadatasResult>;
/**
* @deprecated
* @generated from protobuf rpc: DeleteMetadatas
*/
deleteMetadatas(input: DeleteMetadatasRequest, options?: RpcOptions): UnaryCall<DeleteMetadatasRequest, DeleteMetadatasResult>;
/**
* @deprecated
* @generated from protobuf rpc: GetMetadataCount
*/
getMetadataCount(input: GetMetadataCountRequest, options?: RpcOptions): UnaryCall<GetMetadataCountRequest, GetMetadataCountResult>;
/**
* @deprecated
* @generated from protobuf rpc: GetTransitiveMetadatas
*/
getTransitiveMetadatas(input: GetTransitiveMetadatasRequest, options?: RpcOptions): UnaryCall<GetTransitiveMetadatasRequest, GetTransitiveMetadatasResult>;
/**
* @generated from protobuf rpc: CreateProjectMetadata
*/
createProjectMetadata(input: CreateProjectMetadataRequest, options?: RpcOptions): UnaryCall<CreateProjectMetadataRequest, CreateProjectMetadataResult>;
/**
* @generated from protobuf rpc: UpdateProjectMetadata
*/
updateProjectMetadata(input: UpdateProjectMetadataRequest, options?: RpcOptions): UnaryCall<UpdateProjectMetadataRequest, UpdateProjectMetadataResult>;
/**
* @generated from protobuf rpc: GetProjectMetadatas
*/
getProjectMetadatas(input: GetProjectMetadatasRequest, options?: RpcOptions): UnaryCall<GetProjectMetadatasRequest, GetProjectMetadatasResult>;
/**
* @generated from protobuf rpc: DeleteProjectMetadatas
*/
deleteProjectMetadatas(input: DeleteProjectMetadatasRequest, options?: RpcOptions): UnaryCall<DeleteProjectMetadatasRequest, DeleteProjectMetadatasResult>;
/**
* @generated from protobuf rpc: GetProjectMetadataCount
*/
getProjectMetadataCount(input: GetProjectMetadataCountRequest, options?: RpcOptions): UnaryCall<GetProjectMetadataCountRequest, GetProjectMetadataCountResult>;
/**
* @generated from protobuf rpc: GetProjectTransitiveMetadatas
*/
getProjectTransitiveMetadatas(input: GetProjectTransitiveMetadatasRequest, options?: RpcOptions): UnaryCall<GetProjectTransitiveMetadatasRequest, GetProjectTransitiveMetadatasResult>;
/**
* @generated from protobuf rpc: CreateSiteMetadata
*/
createSiteMetadata(input: CreateSiteMetadataRequest, options?: RpcOptions): UnaryCall<CreateSiteMetadataRequest, CreateSiteMetadataResult>;
/**
* @generated from protobuf rpc: UpdateSiteMetadata
*/
updateSiteMetadata(input: UpdateSiteMetadataRequest, options?: RpcOptions): UnaryCall<UpdateSiteMetadataRequest, UpdateSiteMetadataResult>;
/**
* @generated from protobuf rpc: GetSiteMetadatas
*/
getSiteMetadatas(input: GetSiteMetadatasRequest, options?: RpcOptions): UnaryCall<GetSiteMetadatasRequest, GetSiteMetadatasResult>;
/**
* @generated from protobuf rpc: DeleteSiteMetadatas
*/
deleteSiteMetadatas(input: DeleteSiteMetadatasRequest, options?: RpcOptions): UnaryCall<DeleteSiteMetadatasRequest, DeleteSiteMetadatasResult>;
/**
* @generated from protobuf rpc: GetSiteMetadataCount
*/
getSiteMetadataCount(input: GetSiteMetadataCountRequest, options?: RpcOptions): UnaryCall<GetSiteMetadataCountRequest, GetSiteMetadataCountResult>;
/**
* @generated from protobuf rpc: GetSiteTransitiveMetadatas
*/
getSiteTransitiveMetadatas(input: GetSiteTransitiveMetadatasRequest, options?: RpcOptions): UnaryCall<GetSiteTransitiveMetadatasRequest, GetSiteTransitiveMetadatasResult>;
/**
* @generated from protobuf rpc: RestoreMetadatas
*/
restoreMetadatas(input: RestoreMetadatasRequest, options?: RpcOptions): UnaryCall<RestoreMetadatasRequest, RestoreMetadatasResult>;
}
/**
* @generated from protobuf service api.MetadataService
*/
export class MetadataServiceClient implements IMetadataServiceClient, ServiceInfo {
typeName = MetadataService.typeName;
methods = MetadataService.methods;
options = MetadataService.options;
constructor(private readonly _transport: RpcTransport) {
}
/**
* @deprecated
* @generated from protobuf rpc: CreateMetadata
*/
createMetadata(input: CreateMetadataRequest, options?: RpcOptions): UnaryCall<CreateMetadataRequest, CreateMetadataResult> {
const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateMetadataRequest, CreateMetadataResult>("unary", this._transport, method, opt, input);
}
/**
* @deprecated
* @generated from protobuf rpc: UpdateMetadata
*/
updateMetadata(input: UpdateMetadataRequest, options?: RpcOptions): UnaryCall<UpdateMetadataRequest, UpdateMetadataResult> {
const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateMetadataRequest, UpdateMetadataResult>("unary", this._transport, method, opt, input);
}
/**
* @deprecated
* @generated from protobuf rpc: GetMetadatas
*/
getMetadatas(input: GetMetadatasRequest, options?: RpcOptions): UnaryCall<GetMetadatasRequest, GetMetadatasResult> {
const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<GetMetadatasRequest, GetMetadatasResult>("unary", this._transport, method, opt, input);
}
/**
* @deprecated
* @generated from protobuf rpc: DeleteMetadatas
*/
deleteMetadatas(input: DeleteMetadatasRequest, options?: RpcOptions): UnaryCall<DeleteMetadatasRequest, DeleteMetadatasResult> {
const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteMetadatasRequest, DeleteMetadatasResult>("unary", this._transport, method, opt, input);
}
/**
* @deprecated
* @generated from protobuf rpc: GetMetadataCount
*/
getMetadataCount(input: GetMetadataCountRequest, options?: RpcOptions): UnaryCall<GetMetadataCountRequest, GetMetadataCountResult> {
const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<GetMetadataCountRequest, GetMetadataCountResult>("unary", this._transport, method, opt, input);
}
/**
* @deprecated
* @generated from protobuf rpc: GetTransitiveMetadatas
*/
getTransitiveMetadatas(input: GetTransitiveMetadatasRequest, options?: RpcOptions): UnaryCall<GetTransitiveMetadatasRequest, GetTransitiveMetadatasResult> {
const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<GetTransitiveMetadatasRequest, GetTransitiveMetadatasResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CreateProjectMetadata
*/
createProjectMetadata(input: CreateProjectMetadataRequest, options?: RpcOptions): UnaryCall<CreateProjectMetadataRequest, CreateProjectMetadataResult> {
const method = this.methods[6], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateProjectMetadataRequest, CreateProjectMetadataResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UpdateProjectMetadata
*/
updateProjectMetadata(input: UpdateProjectMetadataRequest, options?: RpcOptions): UnaryCall<UpdateProjectMetadataRequest, UpdateProjectMetadataResult> {
const method = this.methods[7], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateProjectMetadataRequest, UpdateProjectMetadataResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetProjectMetadatas
*/
getProjectMetadatas(input: GetProjectMetadatasRequest, options?: RpcOptions): UnaryCall<GetProjectMetadatasRequest, GetProjectMetadatasResult> {
const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept<GetProjectMetadatasRequest, GetProjectMetadatasResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteProjectMetadatas
*/
deleteProjectMetadatas(input: DeleteProjectMetadatasRequest, options?: RpcOptions): UnaryCall<DeleteProjectMetadatasRequest, DeleteProjectMetadatasResult> {
const method = this.methods[9], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteProjectMetadatasRequest, DeleteProjectMetadatasResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetProjectMetadataCount
*/
getProjectMetadataCount(input: GetProjectMetadataCountRequest, options?: RpcOptions): UnaryCall<GetProjectMetadataCountRequest, GetProjectMetadataCountResult> {
const method = this.methods[10], opt = this._transport.mergeOptions(options);
return stackIntercept<GetProjectMetadataCountRequest, GetProjectMetadataCountResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetProjectTransitiveMetadatas
*/
getProjectTransitiveMetadatas(input: GetProjectTransitiveMetadatasRequest, options?: RpcOptions): UnaryCall<GetProjectTransitiveMetadatasRequest, GetProjectTransitiveMetadatasResult> {
const method = this.methods[11], opt = this._transport.mergeOptions(options);
return stackIntercept<GetProjectTransitiveMetadatasRequest, GetProjectTransitiveMetadatasResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CreateSiteMetadata
*/
createSiteMetadata(input: CreateSiteMetadataRequest, options?: RpcOptions): UnaryCall<CreateSiteMetadataRequest, CreateSiteMetadataResult> {
const method = this.methods[12], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateSiteMetadataRequest, CreateSiteMetadataResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UpdateSiteMetadata
*/
updateSiteMetadata(input: UpdateSiteMetadataRequest, options?: RpcOptions): UnaryCall<UpdateSiteMetadataRequest, UpdateSiteMetadataResult> {
const method = this.methods[13], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateSiteMetadataRequest, UpdateSiteMetadataResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetSiteMetadatas
*/
getSiteMetadatas(input: GetSiteMetadatasRequest, options?: RpcOptions): UnaryCall<GetSiteMetadatasRequest, GetSiteMetadatasResult> {
const method = this.methods[14], opt = this._transport.mergeOptions(options);
return stackIntercept<GetSiteMetadatasRequest, GetSiteMetadatasResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteSiteMetadatas
*/
deleteSiteMetadatas(input: DeleteSiteMetadatasRequest, options?: RpcOptions): UnaryCall<DeleteSiteMetadatasRequest, DeleteSiteMetadatasResult> {
const method = this.methods[15], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteSiteMetadatasRequest, DeleteSiteMetadatasResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetSiteMetadataCount
*/
getSiteMetadataCount(input: GetSiteMetadataCountRequest, options?: RpcOptions): UnaryCall<GetSiteMetadataCountRequest, GetSiteMetadataCountResult> {
const method = this.methods[16], opt = this._transport.mergeOptions(options);
return stackIntercept<GetSiteMetadataCountRequest, GetSiteMetadataCountResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetSiteTransitiveMetadatas
*/
getSiteTransitiveMetadatas(input: GetSiteTransitiveMetadatasRequest, options?: RpcOptions): UnaryCall<GetSiteTransitiveMetadatasRequest, GetSiteTransitiveMetadatasResult> {
const method = this.methods[17], opt = this._transport.mergeOptions(options);
return stackIntercept<GetSiteTransitiveMetadatasRequest, GetSiteTransitiveMetadatasResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: RestoreMetadatas
*/
restoreMetadatas(input: RestoreMetadatasRequest, options?: RpcOptions): UnaryCall<RestoreMetadatasRequest, RestoreMetadatasResult> {
const method = this.methods[18], opt = this._transport.mergeOptions(options);
return stackIntercept<RestoreMetadatasRequest, RestoreMetadatasResult>("unary", this._transport, method, opt, input);
}
}