You've already forked npm-core-sdk
238 lines
12 KiB
TypeScript
238 lines
12 KiB
TypeScript
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
|
|
// @generated from protobuf file "ruleEngine_services.proto" (package "api", syntax proto3)
|
|
// tslint:disable
|
|
import { MappingTableService } from "./ruleEngine_services";
|
|
import type { DeleteMappingTableResponse } from "./ruleEngine_services";
|
|
import type { DeleteMappingTableRequest } from "./ruleEngine_services";
|
|
import type { ListMappingTableResponse } from "./ruleEngine_services";
|
|
import type { ListMappingTableRequest } from "./ruleEngine_services";
|
|
import type { GetMappingTableResponse } from "./ruleEngine_services";
|
|
import type { GetMappingTableRequest } from "./ruleEngine_services";
|
|
import type { PutMappingTableResponse } from "./ruleEngine_services";
|
|
import type { PutMappingTableRequest } from "./ruleEngine_services";
|
|
import { ComputationService } from "./ruleEngine_services";
|
|
import type { DeleteComputationResponse } from "./ruleEngine_services";
|
|
import type { DeleteComputationRequest } from "./ruleEngine_services";
|
|
import type { ListComputationResponse } from "./ruleEngine_services";
|
|
import type { ListComputationRequest } from "./ruleEngine_services";
|
|
import type { GetComputationResponse } from "./ruleEngine_services";
|
|
import type { GetComputationRequest } from "./ruleEngine_services";
|
|
import type { PutComputationResponse } from "./ruleEngine_services";
|
|
import type { PutComputationRequest } from "./ruleEngine_services";
|
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
import { RuleEngineService } from "./ruleEngine_services";
|
|
import type { ToggleDebugOnResponse } from "./ruleEngine_services";
|
|
import type { ToggleDebugOnRequest } from "./ruleEngine_services";
|
|
import type { DeleteEngineRuleResponse } from "./ruleEngine_services";
|
|
import type { DeleteEngineRuleRequest } from "./ruleEngine_services";
|
|
import type { ListEngineRuleResponse } from "./ruleEngine_services";
|
|
import type { ListEngineRuleRequest } from "./ruleEngine_services";
|
|
import type { GetEngineRuleResponse } from "./ruleEngine_services";
|
|
import type { GetEngineRuleRequest } from "./ruleEngine_services";
|
|
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
import type { PutEngineRuleResponse } from "./ruleEngine_services";
|
|
import type { PutEngineRuleRequest } from "./ruleEngine_services";
|
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
// ─── RuleEngineService ────────────────────────────────────────────────────────
|
|
|
|
/**
|
|
* @generated from protobuf service api.RuleEngineService
|
|
*/
|
|
export interface IRuleEngineServiceClient {
|
|
/**
|
|
* @generated from protobuf rpc: Put
|
|
*/
|
|
put(input: PutEngineRuleRequest, options?: RpcOptions): UnaryCall<PutEngineRuleRequest, PutEngineRuleResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: Get
|
|
*/
|
|
get(input: GetEngineRuleRequest, options?: RpcOptions): UnaryCall<GetEngineRuleRequest, GetEngineRuleResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: List
|
|
*/
|
|
list(input: ListEngineRuleRequest, options?: RpcOptions): UnaryCall<ListEngineRuleRequest, ListEngineRuleResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: Delete
|
|
*/
|
|
delete(input: DeleteEngineRuleRequest, options?: RpcOptions): UnaryCall<DeleteEngineRuleRequest, DeleteEngineRuleResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: ToggleDebugOn
|
|
*/
|
|
toggleDebugOn(input: ToggleDebugOnRequest, options?: RpcOptions): UnaryCall<ToggleDebugOnRequest, ToggleDebugOnResponse>;
|
|
}
|
|
// ─── RuleEngineService ────────────────────────────────────────────────────────
|
|
|
|
/**
|
|
* @generated from protobuf service api.RuleEngineService
|
|
*/
|
|
export class RuleEngineServiceClient implements IRuleEngineServiceClient, ServiceInfo {
|
|
typeName = RuleEngineService.typeName;
|
|
methods = RuleEngineService.methods;
|
|
options = RuleEngineService.options;
|
|
constructor(private readonly _transport: RpcTransport) {
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Put
|
|
*/
|
|
put(input: PutEngineRuleRequest, options?: RpcOptions): UnaryCall<PutEngineRuleRequest, PutEngineRuleResponse> {
|
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<PutEngineRuleRequest, PutEngineRuleResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Get
|
|
*/
|
|
get(input: GetEngineRuleRequest, options?: RpcOptions): UnaryCall<GetEngineRuleRequest, GetEngineRuleResponse> {
|
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetEngineRuleRequest, GetEngineRuleResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: List
|
|
*/
|
|
list(input: ListEngineRuleRequest, options?: RpcOptions): UnaryCall<ListEngineRuleRequest, ListEngineRuleResponse> {
|
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListEngineRuleRequest, ListEngineRuleResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Delete
|
|
*/
|
|
delete(input: DeleteEngineRuleRequest, options?: RpcOptions): UnaryCall<DeleteEngineRuleRequest, DeleteEngineRuleResponse> {
|
|
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<DeleteEngineRuleRequest, DeleteEngineRuleResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ToggleDebugOn
|
|
*/
|
|
toggleDebugOn(input: ToggleDebugOnRequest, options?: RpcOptions): UnaryCall<ToggleDebugOnRequest, ToggleDebugOnResponse> {
|
|
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ToggleDebugOnRequest, ToggleDebugOnResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
}
|
|
// ─── ComputationService ───────────────────────────────────────────────────────
|
|
|
|
/**
|
|
* @generated from protobuf service api.ComputationService
|
|
*/
|
|
export interface IComputationServiceClient {
|
|
/**
|
|
* @generated from protobuf rpc: Put
|
|
*/
|
|
put(input: PutComputationRequest, options?: RpcOptions): UnaryCall<PutComputationRequest, PutComputationResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: Get
|
|
*/
|
|
get(input: GetComputationRequest, options?: RpcOptions): UnaryCall<GetComputationRequest, GetComputationResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: List
|
|
*/
|
|
list(input: ListComputationRequest, options?: RpcOptions): UnaryCall<ListComputationRequest, ListComputationResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: Delete
|
|
*/
|
|
delete(input: DeleteComputationRequest, options?: RpcOptions): UnaryCall<DeleteComputationRequest, DeleteComputationResponse>;
|
|
}
|
|
// ─── ComputationService ───────────────────────────────────────────────────────
|
|
|
|
/**
|
|
* @generated from protobuf service api.ComputationService
|
|
*/
|
|
export class ComputationServiceClient implements IComputationServiceClient, ServiceInfo {
|
|
typeName = ComputationService.typeName;
|
|
methods = ComputationService.methods;
|
|
options = ComputationService.options;
|
|
constructor(private readonly _transport: RpcTransport) {
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Put
|
|
*/
|
|
put(input: PutComputationRequest, options?: RpcOptions): UnaryCall<PutComputationRequest, PutComputationResponse> {
|
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<PutComputationRequest, PutComputationResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Get
|
|
*/
|
|
get(input: GetComputationRequest, options?: RpcOptions): UnaryCall<GetComputationRequest, GetComputationResponse> {
|
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetComputationRequest, GetComputationResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: List
|
|
*/
|
|
list(input: ListComputationRequest, options?: RpcOptions): UnaryCall<ListComputationRequest, ListComputationResponse> {
|
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListComputationRequest, ListComputationResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Delete
|
|
*/
|
|
delete(input: DeleteComputationRequest, options?: RpcOptions): UnaryCall<DeleteComputationRequest, DeleteComputationResponse> {
|
|
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<DeleteComputationRequest, DeleteComputationResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
}
|
|
// ─── MappingTableService ──────────────────────────────────────────────────────
|
|
|
|
/**
|
|
* @generated from protobuf service api.MappingTableService
|
|
*/
|
|
export interface IMappingTableServiceClient {
|
|
/**
|
|
* @generated from protobuf rpc: Put
|
|
*/
|
|
put(input: PutMappingTableRequest, options?: RpcOptions): UnaryCall<PutMappingTableRequest, PutMappingTableResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: Get
|
|
*/
|
|
get(input: GetMappingTableRequest, options?: RpcOptions): UnaryCall<GetMappingTableRequest, GetMappingTableResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: List
|
|
*/
|
|
list(input: ListMappingTableRequest, options?: RpcOptions): UnaryCall<ListMappingTableRequest, ListMappingTableResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: Delete
|
|
*/
|
|
delete(input: DeleteMappingTableRequest, options?: RpcOptions): UnaryCall<DeleteMappingTableRequest, DeleteMappingTableResponse>;
|
|
}
|
|
// ─── MappingTableService ──────────────────────────────────────────────────────
|
|
|
|
/**
|
|
* @generated from protobuf service api.MappingTableService
|
|
*/
|
|
export class MappingTableServiceClient implements IMappingTableServiceClient, ServiceInfo {
|
|
typeName = MappingTableService.typeName;
|
|
methods = MappingTableService.methods;
|
|
options = MappingTableService.options;
|
|
constructor(private readonly _transport: RpcTransport) {
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Put
|
|
*/
|
|
put(input: PutMappingTableRequest, options?: RpcOptions): UnaryCall<PutMappingTableRequest, PutMappingTableResponse> {
|
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<PutMappingTableRequest, PutMappingTableResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Get
|
|
*/
|
|
get(input: GetMappingTableRequest, options?: RpcOptions): UnaryCall<GetMappingTableRequest, GetMappingTableResponse> {
|
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetMappingTableRequest, GetMappingTableResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: List
|
|
*/
|
|
list(input: ListMappingTableRequest, options?: RpcOptions): UnaryCall<ListMappingTableRequest, ListMappingTableResponse> {
|
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListMappingTableRequest, ListMappingTableResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Delete
|
|
*/
|
|
delete(input: DeleteMappingTableRequest, options?: RpcOptions): UnaryCall<DeleteMappingTableRequest, DeleteMappingTableResponse> {
|
|
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<DeleteMappingTableRequest, DeleteMappingTableResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
}
|