You've already forked npm-core-sdk
192 lines
10 KiB
TypeScript
192 lines
10 KiB
TypeScript
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
|
|
// @generated from protobuf file "appointmentQuery.proto" (package "api", syntax proto3)
|
|
// tslint:disable
|
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
import { AppointmentQuery } from "./appointmentQuery";
|
|
import type { CrossFindElementByMatchQuery } from "./shared";
|
|
import type { CrossFindByMatchResult } from "./shared";
|
|
import type { CrossFindByMatchQuery } from "./shared";
|
|
import type { CrossFindAppointmentResult } from "./appointmentQuery";
|
|
import type { CrossFindQuery } from "./shared";
|
|
import type { FindByCommissionResult } from "./appointmentQuery";
|
|
import type { FindByCommissionQuery } from "./appointmentQuery";
|
|
import type { FindMineByMatchQuery } from "./appointmentQuery";
|
|
import type { FindMineResult } from "./appointmentQuery";
|
|
import type { FindMineQuery } from "./appointmentQuery";
|
|
import type { CountLinesResult } from "./shared";
|
|
import type { CountLinesQuery } from "./shared";
|
|
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 { AppointmentByMatchResult } from "./appointmentQuery";
|
|
import type { AppointmentByMatchQuery } from "./appointmentQuery";
|
|
import type { AppointmentByFilterResult } from "./appointmentQuery";
|
|
import type { AppointmentByFilterQuery } from "./appointmentQuery";
|
|
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
import type { AppointmentByIdResult } from "./appointmentQuery";
|
|
import type { AppointmentByIdQuery } from "./appointmentQuery";
|
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
/**
|
|
* @generated from protobuf service api.AppointmentQuery
|
|
*/
|
|
export interface IAppointmentQueryClient {
|
|
/**
|
|
* @generated from protobuf rpc: GetByIds
|
|
*/
|
|
getByIds(input: AppointmentByIdQuery, options?: RpcOptions): UnaryCall<AppointmentByIdQuery, AppointmentByIdResult>;
|
|
/**
|
|
* @generated from protobuf rpc: Find
|
|
*/
|
|
find(input: AppointmentByFilterQuery, options?: RpcOptions): UnaryCall<AppointmentByFilterQuery, AppointmentByFilterResult>;
|
|
/**
|
|
* @generated from protobuf rpc: FindMatchingFieldValues
|
|
*/
|
|
findMatchingFieldValues(input: AppointmentByMatchQuery, options?: RpcOptions): UnaryCall<AppointmentByMatchQuery, AppointmentByMatchResult>;
|
|
/**
|
|
* @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: CountLines
|
|
*/
|
|
countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall<CountLinesQuery, CountLinesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: FindMine
|
|
*/
|
|
findMine(input: FindMineQuery, options?: RpcOptions): UnaryCall<FindMineQuery, FindMineResult>;
|
|
/**
|
|
* @generated from protobuf rpc: FindMineMatchingFieldValues
|
|
*/
|
|
findMineMatchingFieldValues(input: FindMineByMatchQuery, options?: RpcOptions): UnaryCall<FindMineByMatchQuery, AppointmentByMatchResult>;
|
|
/**
|
|
* @generated from protobuf rpc: FindByCommission
|
|
*/
|
|
findByCommission(input: FindByCommissionQuery, options?: RpcOptions): UnaryCall<FindByCommissionQuery, FindByCommissionResult>;
|
|
/**
|
|
* @generated from protobuf rpc: CrossFind
|
|
*/
|
|
crossFind(input: CrossFindQuery, options?: RpcOptions): UnaryCall<CrossFindQuery, CrossFindAppointmentResult>;
|
|
/**
|
|
* @generated from protobuf rpc: CrossFindMatchingFieldValues
|
|
*/
|
|
crossFindMatchingFieldValues(input: CrossFindByMatchQuery, options?: RpcOptions): UnaryCall<CrossFindByMatchQuery, CrossFindByMatchResult>;
|
|
/**
|
|
* @generated from protobuf rpc: CrossFindMatchingFieldElements
|
|
*/
|
|
crossFindMatchingFieldElements(input: CrossFindElementByMatchQuery, options?: RpcOptions): UnaryCall<CrossFindElementByMatchQuery, ElementByMatchResult>;
|
|
}
|
|
/**
|
|
* @generated from protobuf service api.AppointmentQuery
|
|
*/
|
|
export class AppointmentQueryClient implements IAppointmentQueryClient, ServiceInfo {
|
|
typeName = AppointmentQuery.typeName;
|
|
methods = AppointmentQuery.methods;
|
|
options = AppointmentQuery.options;
|
|
constructor(private readonly _transport: RpcTransport) {
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetByIds
|
|
*/
|
|
getByIds(input: AppointmentByIdQuery, options?: RpcOptions): UnaryCall<AppointmentByIdQuery, AppointmentByIdResult> {
|
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<AppointmentByIdQuery, AppointmentByIdResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Find
|
|
*/
|
|
find(input: AppointmentByFilterQuery, options?: RpcOptions): UnaryCall<AppointmentByFilterQuery, AppointmentByFilterResult> {
|
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<AppointmentByFilterQuery, AppointmentByFilterResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: FindMatchingFieldValues
|
|
*/
|
|
findMatchingFieldValues(input: AppointmentByMatchQuery, options?: RpcOptions): UnaryCall<AppointmentByMatchQuery, AppointmentByMatchResult> {
|
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<AppointmentByMatchQuery, AppointmentByMatchResult>("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: CountLines
|
|
*/
|
|
countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall<CountLinesQuery, CountLinesResult> {
|
|
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<CountLinesQuery, CountLinesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: FindMine
|
|
*/
|
|
findMine(input: FindMineQuery, options?: RpcOptions): UnaryCall<FindMineQuery, FindMineResult> {
|
|
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<FindMineQuery, FindMineResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: FindMineMatchingFieldValues
|
|
*/
|
|
findMineMatchingFieldValues(input: FindMineByMatchQuery, options?: RpcOptions): UnaryCall<FindMineByMatchQuery, AppointmentByMatchResult> {
|
|
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<FindMineByMatchQuery, AppointmentByMatchResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: FindByCommission
|
|
*/
|
|
findByCommission(input: FindByCommissionQuery, options?: RpcOptions): UnaryCall<FindByCommissionQuery, FindByCommissionResult> {
|
|
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<FindByCommissionQuery, FindByCommissionResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: CrossFind
|
|
*/
|
|
crossFind(input: CrossFindQuery, options?: RpcOptions): UnaryCall<CrossFindQuery, CrossFindAppointmentResult> {
|
|
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<CrossFindQuery, CrossFindAppointmentResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: CrossFindMatchingFieldValues
|
|
*/
|
|
crossFindMatchingFieldValues(input: CrossFindByMatchQuery, options?: RpcOptions): UnaryCall<CrossFindByMatchQuery, CrossFindByMatchResult> {
|
|
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<CrossFindByMatchQuery, CrossFindByMatchResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: CrossFindMatchingFieldElements
|
|
*/
|
|
crossFindMatchingFieldElements(input: CrossFindElementByMatchQuery, options?: RpcOptions): UnaryCall<CrossFindElementByMatchQuery, ElementByMatchResult> {
|
|
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<CrossFindElementByMatchQuery, ElementByMatchResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
}
|