// @generated by protobuf-ts 2.9.6 // @generated from protobuf file "trackingInput.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { TrackingInputAPI } from "./trackingInput"; import type { TrackingDeletedResponse } from "./trackingInput"; import type { TrackingDeletedRequest } from "./trackingInput"; import type { TrackingAttachmentRemovedResponse } from "./trackingInput"; import type { TrackingAttachmentRemovedRequest } from "./trackingInput"; import type { TrackingAttachmentAddedResponse } from "./trackingInput"; import type { TrackingAttachmentAddedRequest } from "./trackingInput"; import type { TrackingSwitchedResponse } from "./trackingInput"; import type { TrackingSwitchedRequest } from "./trackingInput"; import type { TrackingHULabeledResponse } from "./trackingInput"; import type { TrackingHULabeledRequest } from "./trackingInput"; import type { TrackingDispatchedResponse } from "./trackingInput"; import type { TrackingDispatchedRequest } from "./trackingInput"; import type { TrackingETAUpdatedResponse } from "./trackingInput"; import type { TrackingETAUpdatedRequest } from "./trackingInput"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { TrackingNotifiedResponse } from "./trackingInput"; import type { TrackingNotifiedRequest } from "./trackingInput"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * * API-server services * * @generated from protobuf service api.TrackingInputAPI */ export interface ITrackingInputAPIClient { /** * @generated from protobuf rpc: Notified(api.TrackingNotifiedRequest) returns (api.TrackingNotifiedResponse); */ notified(input: TrackingNotifiedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ETAUpdated(api.TrackingETAUpdatedRequest) returns (api.TrackingETAUpdatedResponse); */ eTAUpdated(input: TrackingETAUpdatedRequest, options?: RpcOptions): UnaryCall; /** * @deprecated * @generated from protobuf rpc: Dispatched(api.TrackingDispatchedRequest) returns (api.TrackingDispatchedResponse); */ dispatched(input: TrackingDispatchedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: HULabeled(api.TrackingHULabeledRequest) returns (api.TrackingHULabeledResponse); */ hULabeled(input: TrackingHULabeledRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Switched(api.TrackingSwitchedRequest) returns (api.TrackingSwitchedResponse); */ switched(input: TrackingSwitchedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: AttachmentAdded(api.TrackingAttachmentAddedRequest) returns (api.TrackingAttachmentAddedResponse); */ attachmentAdded(input: TrackingAttachmentAddedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: AttachmentRemoved(api.TrackingAttachmentRemovedRequest) returns (api.TrackingAttachmentRemovedResponse); */ attachmentRemoved(input: TrackingAttachmentRemovedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Deleted(api.TrackingDeletedRequest) returns (api.TrackingDeletedResponse); */ deleted(input: TrackingDeletedRequest, options?: RpcOptions): UnaryCall; } /** * * API-server services * * @generated from protobuf service api.TrackingInputAPI */ export class TrackingInputAPIClient implements ITrackingInputAPIClient, ServiceInfo { typeName = TrackingInputAPI.typeName; methods = TrackingInputAPI.methods; options = TrackingInputAPI.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Notified(api.TrackingNotifiedRequest) returns (api.TrackingNotifiedResponse); */ notified(input: TrackingNotifiedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[0], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ETAUpdated(api.TrackingETAUpdatedRequest) returns (api.TrackingETAUpdatedResponse); */ eTAUpdated(input: TrackingETAUpdatedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[1], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @deprecated * @generated from protobuf rpc: Dispatched(api.TrackingDispatchedRequest) returns (api.TrackingDispatchedResponse); */ dispatched(input: TrackingDispatchedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[2], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: HULabeled(api.TrackingHULabeledRequest) returns (api.TrackingHULabeledResponse); */ hULabeled(input: TrackingHULabeledRequest, options?: RpcOptions): UnaryCall { const method = this.methods[3], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Switched(api.TrackingSwitchedRequest) returns (api.TrackingSwitchedResponse); */ switched(input: TrackingSwitchedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[4], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: AttachmentAdded(api.TrackingAttachmentAddedRequest) returns (api.TrackingAttachmentAddedResponse); */ attachmentAdded(input: TrackingAttachmentAddedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[5], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: AttachmentRemoved(api.TrackingAttachmentRemovedRequest) returns (api.TrackingAttachmentRemovedResponse); */ attachmentRemoved(input: TrackingAttachmentRemovedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[6], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Deleted(api.TrackingDeletedRequest) returns (api.TrackingDeletedResponse); */ deleted(input: TrackingDeletedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[7], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }