You've already forked npm-core-sdk
Latest generation
This commit is contained in:
102
partnerQuery.client.ts
Normal file
102
partnerQuery.client.ts
Normal file
@@ -0,0 +1,102 @@
|
||||
// @generated by protobuf-ts 2.9.5
|
||||
// @generated from protobuf file "partnerQuery.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { PartnerQuery } from "./partnerQuery";
|
||||
import type { CountLinesResult } from "./shared";
|
||||
import type { CountLinesQuery } from "./shared";
|
||||
import type { ExtractResult } from "./shared";
|
||||
import type { ExtractQuery } from "./shared";
|
||||
import type { ElementByMatchResult } from "./shared";
|
||||
import type { ElementByMatchQuery } from "./shared";
|
||||
import type { PartnerByMatchResult } from "./partnerQuery";
|
||||
import type { PartnerByMatchQuery } from "./partnerQuery";
|
||||
import type { PartnerByFilterResult } from "./partnerQuery";
|
||||
import type { PartnerByFilterQuery } from "./partnerQuery";
|
||||
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
||||
import type { PartnerByIdResult } from "./partnerQuery";
|
||||
import type { PartnerByIdQuery } from "./partnerQuery";
|
||||
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
||||
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
||||
/**
|
||||
* @generated from protobuf service api.PartnerQuery
|
||||
*/
|
||||
export interface IPartnerQueryClient {
|
||||
/**
|
||||
* @generated from protobuf rpc: GetByIds(api.PartnerByIdQuery) returns (api.PartnerByIdResult);
|
||||
*/
|
||||
getByIds(input: PartnerByIdQuery, options?: RpcOptions): UnaryCall<PartnerByIdQuery, PartnerByIdResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: Find(api.PartnerByFilterQuery) returns (api.PartnerByFilterResult);
|
||||
*/
|
||||
find(input: PartnerByFilterQuery, options?: RpcOptions): UnaryCall<PartnerByFilterQuery, PartnerByFilterResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: FindMatchingFieldValues(api.PartnerByMatchQuery) returns (api.PartnerByMatchResult);
|
||||
*/
|
||||
findMatchingFieldValues(input: PartnerByMatchQuery, options?: RpcOptions): UnaryCall<PartnerByMatchQuery, PartnerByMatchResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: FindMatchingFieldElements(api.ElementByMatchQuery) returns (api.ElementByMatchResult);
|
||||
*/
|
||||
findMatchingFieldElements(input: ElementByMatchQuery, options?: RpcOptions): UnaryCall<ElementByMatchQuery, ElementByMatchResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: Extract(api.ExtractQuery) returns (api.ExtractResult);
|
||||
*/
|
||||
extract(input: ExtractQuery, options?: RpcOptions): UnaryCall<ExtractQuery, ExtractResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: CountLines(api.CountLinesQuery) returns (api.CountLinesResult);
|
||||
*/
|
||||
countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall<CountLinesQuery, CountLinesResult>;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf service api.PartnerQuery
|
||||
*/
|
||||
export class PartnerQueryClient implements IPartnerQueryClient, ServiceInfo {
|
||||
typeName = PartnerQuery.typeName;
|
||||
methods = PartnerQuery.methods;
|
||||
options = PartnerQuery.options;
|
||||
constructor(private readonly _transport: RpcTransport) {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetByIds(api.PartnerByIdQuery) returns (api.PartnerByIdResult);
|
||||
*/
|
||||
getByIds(input: PartnerByIdQuery, options?: RpcOptions): UnaryCall<PartnerByIdQuery, PartnerByIdResult> {
|
||||
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<PartnerByIdQuery, PartnerByIdResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Find(api.PartnerByFilterQuery) returns (api.PartnerByFilterResult);
|
||||
*/
|
||||
find(input: PartnerByFilterQuery, options?: RpcOptions): UnaryCall<PartnerByFilterQuery, PartnerByFilterResult> {
|
||||
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<PartnerByFilterQuery, PartnerByFilterResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: FindMatchingFieldValues(api.PartnerByMatchQuery) returns (api.PartnerByMatchResult);
|
||||
*/
|
||||
findMatchingFieldValues(input: PartnerByMatchQuery, options?: RpcOptions): UnaryCall<PartnerByMatchQuery, PartnerByMatchResult> {
|
||||
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<PartnerByMatchQuery, PartnerByMatchResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: FindMatchingFieldElements(api.ElementByMatchQuery) returns (api.ElementByMatchResult);
|
||||
*/
|
||||
findMatchingFieldElements(input: ElementByMatchQuery, options?: RpcOptions): UnaryCall<ElementByMatchQuery, ElementByMatchResult> {
|
||||
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ElementByMatchQuery, ElementByMatchResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Extract(api.ExtractQuery) returns (api.ExtractResult);
|
||||
*/
|
||||
extract(input: ExtractQuery, options?: RpcOptions): UnaryCall<ExtractQuery, ExtractResult> {
|
||||
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ExtractQuery, ExtractResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: CountLines(api.CountLinesQuery) returns (api.CountLinesResult);
|
||||
*/
|
||||
countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall<CountLinesQuery, CountLinesResult> {
|
||||
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<CountLinesQuery, CountLinesResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user