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

142 lines
7.0 KiB
TypeScript

// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
// @generated from protobuf file "claimQuery.proto" (package "api", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { ClaimQuery } from "./claimQuery";
import type { ClaimGetAvailableContactsResult } from "./claimQuery";
import type { ClaimGetAvailableContactsQuery } from "./claimQuery";
import type { CountLinesResult } from "./shared";
import type { CountLinesQuery } from "./shared";
import type { ClaimGetRoomResult } from "./claimQuery";
import type { ClaimGetRoomQuery } from "./claimQuery";
import type { GetKPIDataResult } from "./clickhouse";
import type { GetKPIDataQuery } from "./clickhouse";
import type { ExtractResult } from "./shared";
import type { ExtractQuery } from "./shared";
import type { ElementByMatchResult } from "./shared";
import type { ElementByMatchQuery } from "./shared";
import type { ClaimByMatchResult } from "./claimQuery";
import type { ClaimByMatchQuery } from "./claimQuery";
import type { ClaimByFilterResult } from "./claimQuery";
import type { ClaimByFilterQuery } from "./claimQuery";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
import type { ClaimByIdResult } from "./claimQuery";
import type { ClaimByIdQuery } from "./claimQuery";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* @generated from protobuf service api.ClaimQuery
*/
export interface IClaimQueryClient {
/**
* @generated from protobuf rpc: GetByIds
*/
getByIds(input: ClaimByIdQuery, options?: RpcOptions): UnaryCall<ClaimByIdQuery, ClaimByIdResult>;
/**
* @generated from protobuf rpc: Find
*/
find(input: ClaimByFilterQuery, options?: RpcOptions): UnaryCall<ClaimByFilterQuery, ClaimByFilterResult>;
/**
* @generated from protobuf rpc: FindMatchingFieldValues
*/
findMatchingFieldValues(input: ClaimByMatchQuery, options?: RpcOptions): UnaryCall<ClaimByMatchQuery, ClaimByMatchResult>;
/**
* @generated from protobuf rpc: FindMatchingFieldElements
*/
findMatchingFieldElements(input: ElementByMatchQuery, options?: RpcOptions): UnaryCall<ElementByMatchQuery, ElementByMatchResult>;
/**
* @generated from protobuf rpc: Extract
*/
extract(input: ExtractQuery, options?: RpcOptions): UnaryCall<ExtractQuery, ExtractResult>;
/**
* @generated from protobuf rpc: GetKPIData
*/
getKPIData(input: GetKPIDataQuery, options?: RpcOptions): UnaryCall<GetKPIDataQuery, GetKPIDataResult>;
/**
* @generated from protobuf rpc: GetRoom
*/
getRoom(input: ClaimGetRoomQuery, options?: RpcOptions): UnaryCall<ClaimGetRoomQuery, ClaimGetRoomResult>;
/**
* @generated from protobuf rpc: CountLines
*/
countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall<CountLinesQuery, CountLinesResult>;
/**
* @generated from protobuf rpc: GetAvailableContacts
*/
getAvailableContacts(input: ClaimGetAvailableContactsQuery, options?: RpcOptions): UnaryCall<ClaimGetAvailableContactsQuery, ClaimGetAvailableContactsResult>;
}
/**
* @generated from protobuf service api.ClaimQuery
*/
export class ClaimQueryClient implements IClaimQueryClient, ServiceInfo {
typeName = ClaimQuery.typeName;
methods = ClaimQuery.methods;
options = ClaimQuery.options;
constructor(private readonly _transport: RpcTransport) {
}
/**
* @generated from protobuf rpc: GetByIds
*/
getByIds(input: ClaimByIdQuery, options?: RpcOptions): UnaryCall<ClaimByIdQuery, ClaimByIdResult> {
const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<ClaimByIdQuery, ClaimByIdResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Find
*/
find(input: ClaimByFilterQuery, options?: RpcOptions): UnaryCall<ClaimByFilterQuery, ClaimByFilterResult> {
const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<ClaimByFilterQuery, ClaimByFilterResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: FindMatchingFieldValues
*/
findMatchingFieldValues(input: ClaimByMatchQuery, options?: RpcOptions): UnaryCall<ClaimByMatchQuery, ClaimByMatchResult> {
const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<ClaimByMatchQuery, ClaimByMatchResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: FindMatchingFieldElements
*/
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
*/
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: GetKPIData
*/
getKPIData(input: GetKPIDataQuery, options?: RpcOptions): UnaryCall<GetKPIDataQuery, GetKPIDataResult> {
const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<GetKPIDataQuery, GetKPIDataResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetRoom
*/
getRoom(input: ClaimGetRoomQuery, options?: RpcOptions): UnaryCall<ClaimGetRoomQuery, ClaimGetRoomResult> {
const method = this.methods[6], opt = this._transport.mergeOptions(options);
return stackIntercept<ClaimGetRoomQuery, ClaimGetRoomResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CountLines
*/
countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall<CountLinesQuery, CountLinesResult> {
const method = this.methods[7], opt = this._transport.mergeOptions(options);
return stackIntercept<CountLinesQuery, CountLinesResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetAvailableContacts
*/
getAvailableContacts(input: ClaimGetAvailableContactsQuery, options?: RpcOptions): UnaryCall<ClaimGetAvailableContactsQuery, ClaimGetAvailableContactsResult> {
const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept<ClaimGetAvailableContactsQuery, ClaimGetAvailableContactsResult>("unary", this._transport, method, opt, input);
}
}