// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "appointmentInput.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { AppointmentInputAPI } from "./appointmentInput"; import type { AppointmentMetaDataUpdatedResponse } from "./appointmentInput"; import type { AppointmentMetaDataUpdatedRequest } from "./appointmentInput"; import type { AppointmentCarrierDepartedResponse } from "./appointmentInput"; import type { AppointmentCarrierDepartedRequest } from "./appointmentInput"; import type { AppointmentReceptionUnloadedResponse } from "./appointmentInput"; import type { AppointmentReceptionUnloadedRequest } from "./appointmentInput"; import type { AppointmentReceptionStartedResponse } from "./appointmentInput"; import type { AppointmentReceptionStartedRequest } from "./appointmentInput"; import type { AppointmentExpeditionLoadedResponse } from "./appointmentInput"; import type { AppointmentExpeditionLoadedRequest } from "./appointmentInput"; import type { AppointmentExpeditionStartedResponse } from "./appointmentInput"; import type { AppointmentExpeditionStartedRequest } from "./appointmentInput"; import type { AppointmentCarrierArrivedResponse } from "./appointmentInput"; import type { AppointmentCarrierArrivedRequest } from "./appointmentInput"; import type { AppointmentCarrierExpectedResponse } from "./appointmentInput"; import type { AppointmentCarrierExpectedRequest } from "./appointmentInput"; import type { AppointmentCarrierInformationUpdatedResponse } from "./appointmentInput"; import type { AppointmentCarrierInformationUpdatedRequest } from "./appointmentInput"; import type { AppointmentCanceledResponse } from "./appointmentInput"; import type { AppointmentCanceledRequest } from "./appointmentInput"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { AppointmentCreatedResponse } from "./appointmentInput"; import type { AppointmentCreatedRequest } from "./appointmentInput"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * * API-server services * * @generated from protobuf service api.AppointmentInputAPI */ export interface IAppointmentInputAPIClient { /** * @generated from protobuf rpc: Created */ created(input: AppointmentCreatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Canceled */ canceled(input: AppointmentCanceledRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CarrierInformationUpdated */ carrierInformationUpdated(input: AppointmentCarrierInformationUpdatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CarrierExpected */ carrierExpected(input: AppointmentCarrierExpectedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CarrierArrived */ carrierArrived(input: AppointmentCarrierArrivedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ExpeditionStarted */ expeditionStarted(input: AppointmentExpeditionStartedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ExpeditionLoaded */ expeditionLoaded(input: AppointmentExpeditionLoadedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ReceptionStarted */ receptionStarted(input: AppointmentReceptionStartedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ReceptionUnloaded */ receptionUnloaded(input: AppointmentReceptionUnloadedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CarrierDeparted */ carrierDeparted(input: AppointmentCarrierDepartedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: MetaDataUpdated */ metaDataUpdated(input: AppointmentMetaDataUpdatedRequest, options?: RpcOptions): UnaryCall; } /** * * API-server services * * @generated from protobuf service api.AppointmentInputAPI */ export class AppointmentInputAPIClient implements IAppointmentInputAPIClient, ServiceInfo { typeName = AppointmentInputAPI.typeName; methods = AppointmentInputAPI.methods; options = AppointmentInputAPI.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Created */ created(input: AppointmentCreatedRequest, 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: Canceled */ canceled(input: AppointmentCanceledRequest, options?: RpcOptions): UnaryCall { const method = this.methods[1], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: CarrierInformationUpdated */ carrierInformationUpdated(input: AppointmentCarrierInformationUpdatedRequest, 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: CarrierExpected */ carrierExpected(input: AppointmentCarrierExpectedRequest, 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: CarrierArrived */ carrierArrived(input: AppointmentCarrierArrivedRequest, 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: ExpeditionStarted */ expeditionStarted(input: AppointmentExpeditionStartedRequest, 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: ExpeditionLoaded */ expeditionLoaded(input: AppointmentExpeditionLoadedRequest, 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: ReceptionStarted */ receptionStarted(input: AppointmentReceptionStartedRequest, 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: ReceptionUnloaded */ receptionUnloaded(input: AppointmentReceptionUnloadedRequest, 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: CarrierDeparted */ carrierDeparted(input: AppointmentCarrierDepartedRequest, 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: MetaDataUpdated */ metaDataUpdated(input: AppointmentMetaDataUpdatedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[10], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }