// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @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 { TrackingCustomFieldsUpdatedResponse } from "./trackingInput"; import type { TrackingCustomFieldsUpdatedRequest } from "./trackingInput"; import type { TrackingSanitisedResponse } from "./trackingInput"; import type { TrackingSanitisedRequest } from "./trackingInput"; import type { TrackingURLUpdatedResponse } from "./trackingInput"; import type { TrackingURLUpdatedRequest } 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 */ notified(input: TrackingNotifiedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ETAUpdated */ eTAUpdated(input: TrackingETAUpdatedRequest, options?: RpcOptions): UnaryCall; /** * @deprecated * @generated from protobuf rpc: Dispatched */ dispatched(input: TrackingDispatchedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: HULabeled */ hULabeled(input: TrackingHULabeledRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Switched */ switched(input: TrackingSwitchedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: AttachmentAdded */ attachmentAdded(input: TrackingAttachmentAddedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: AttachmentRemoved */ attachmentRemoved(input: TrackingAttachmentRemovedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Deleted */ deleted(input: TrackingDeletedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: URLUpdated */ uRLUpdated(input: TrackingURLUpdatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Sanitised */ sanitised(input: TrackingSanitisedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CustomFieldsUpdated */ customFieldsUpdated(input: TrackingCustomFieldsUpdatedRequest, 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ deleted(input: TrackingDeletedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[7], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: URLUpdated */ uRLUpdated(input: TrackingURLUpdatedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[8], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Sanitised */ sanitised(input: TrackingSanitisedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[9], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: CustomFieldsUpdated */ customFieldsUpdated(input: TrackingCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[10], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }