You've already forked npm-core-sdk
77 lines
3.8 KiB
TypeScript
77 lines
3.8 KiB
TypeScript
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
|
|
// @generated from protobuf file "logger.proto" (package "api", syntax proto3)
|
|
// tslint:disable
|
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
import { LoggerService } from "./logger";
|
|
import type { PlatformLogByMatchResult } from "./logger";
|
|
import type { PlatformLogByMatchRequest } from "./logger";
|
|
import type { PlatformLogFindResult } from "./logger";
|
|
import type { PlatformLogFindRequest } from "./logger";
|
|
import type { PlatformLogGetByIdsResult } from "./logger";
|
|
import type { PlatformLogGetByIdsRequest } from "./logger";
|
|
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
import type { PlatformLogCreateResponse } from "./logger";
|
|
import type { PlatformLogCreateRequest } from "./logger";
|
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
/**
|
|
* @generated from protobuf service api.LoggerService
|
|
*/
|
|
export interface ILoggerServiceClient {
|
|
/**
|
|
* @generated from protobuf rpc: Create
|
|
*/
|
|
create(input: PlatformLogCreateRequest, options?: RpcOptions): UnaryCall<PlatformLogCreateRequest, PlatformLogCreateResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: GetByIds
|
|
*/
|
|
getByIds(input: PlatformLogGetByIdsRequest, options?: RpcOptions): UnaryCall<PlatformLogGetByIdsRequest, PlatformLogGetByIdsResult>;
|
|
/**
|
|
* @generated from protobuf rpc: Find
|
|
*/
|
|
find(input: PlatformLogFindRequest, options?: RpcOptions): UnaryCall<PlatformLogFindRequest, PlatformLogFindResult>;
|
|
/**
|
|
* @generated from protobuf rpc: FindMatchingFieldValues
|
|
*/
|
|
findMatchingFieldValues(input: PlatformLogByMatchRequest, options?: RpcOptions): UnaryCall<PlatformLogByMatchRequest, PlatformLogByMatchResult>;
|
|
}
|
|
/**
|
|
* @generated from protobuf service api.LoggerService
|
|
*/
|
|
export class LoggerServiceClient implements ILoggerServiceClient, ServiceInfo {
|
|
typeName = LoggerService.typeName;
|
|
methods = LoggerService.methods;
|
|
options = LoggerService.options;
|
|
constructor(private readonly _transport: RpcTransport) {
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Create
|
|
*/
|
|
create(input: PlatformLogCreateRequest, options?: RpcOptions): UnaryCall<PlatformLogCreateRequest, PlatformLogCreateResponse> {
|
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<PlatformLogCreateRequest, PlatformLogCreateResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetByIds
|
|
*/
|
|
getByIds(input: PlatformLogGetByIdsRequest, options?: RpcOptions): UnaryCall<PlatformLogGetByIdsRequest, PlatformLogGetByIdsResult> {
|
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<PlatformLogGetByIdsRequest, PlatformLogGetByIdsResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Find
|
|
*/
|
|
find(input: PlatformLogFindRequest, options?: RpcOptions): UnaryCall<PlatformLogFindRequest, PlatformLogFindResult> {
|
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<PlatformLogFindRequest, PlatformLogFindResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: FindMatchingFieldValues
|
|
*/
|
|
findMatchingFieldValues(input: PlatformLogByMatchRequest, options?: RpcOptions): UnaryCall<PlatformLogByMatchRequest, PlatformLogByMatchResult> {
|
|
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<PlatformLogByMatchRequest, PlatformLogByMatchResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
}
|