You've already forked npm-core-sdk
Latest generation
This commit is contained in:
76
logger.client.ts
Normal file
76
logger.client.ts
Normal file
@@ -0,0 +1,76 @@
|
||||
// @generated by protobuf-ts 2.9.5
|
||||
// @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(api.PlatformLogCreateRequest) returns (api.PlatformLogCreateResponse);
|
||||
*/
|
||||
create(input: PlatformLogCreateRequest, options?: RpcOptions): UnaryCall<PlatformLogCreateRequest, PlatformLogCreateResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: GetByIds(api.PlatformLogGetByIdsRequest) returns (api.PlatformLogGetByIdsResult);
|
||||
*/
|
||||
getByIds(input: PlatformLogGetByIdsRequest, options?: RpcOptions): UnaryCall<PlatformLogGetByIdsRequest, PlatformLogGetByIdsResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: Find(api.PlatformLogFindRequest) returns (api.PlatformLogFindResult);
|
||||
*/
|
||||
find(input: PlatformLogFindRequest, options?: RpcOptions): UnaryCall<PlatformLogFindRequest, PlatformLogFindResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: FindMatchingFieldValues(api.PlatformLogByMatchRequest) returns (api.PlatformLogByMatchResult);
|
||||
*/
|
||||
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(api.PlatformLogCreateRequest) returns (api.PlatformLogCreateResponse);
|
||||
*/
|
||||
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(api.PlatformLogGetByIdsRequest) returns (api.PlatformLogGetByIdsResult);
|
||||
*/
|
||||
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(api.PlatformLogFindRequest) returns (api.PlatformLogFindResult);
|
||||
*/
|
||||
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(api.PlatformLogByMatchRequest) returns (api.PlatformLogByMatchResult);
|
||||
*/
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user