// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "siteBooking.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { BookingService } from "./siteBooking"; import type { LockBookingResponse } from "./siteBooking"; import type { LockBookingRequest } from "./siteBooking"; import type { CheckBookingAppointmentEditableResponse } from "./siteBooking"; import type { CheckBookingAppointmentEditableRequest } from "./siteBooking"; import type { RescheduleBookingAppointmentRequest } from "./siteBooking"; import type { WMSUpdateBookingAppointmentRequest } from "./siteBooking"; import type { UpdateBookingAppointmentRequest } from "./siteBooking"; import type { DeleteBookingAppointmentResponse } from "./siteBooking"; import type { DeleteBookingAppointmentRequest } from "./siteBooking"; import type { CancelBookingAppointmentResponse } from "./siteBooking"; import type { CancelBookingAppointmentRequest } from "./siteBooking"; import type { BookBookingAppointmentResponse } from "./siteBooking"; import type { BookBookingAppointmentRequest } from "./siteBooking"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { GetBookingSlotsResponse } from "./siteBooking"; import type { GetBookingSlotsRequest } from "./siteBooking"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.BookingService */ export interface IBookingServiceClient { /** * @generated from protobuf rpc: GetAvailableSlots */ getAvailableSlots(input: GetBookingSlotsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetAllSlots */ getAllSlots(input: GetBookingSlotsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: BookAppointment */ bookAppointment(input: BookBookingAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: BookAppointmentNoReference */ bookAppointmentNoReference(input: BookBookingAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ForceBookAppointment */ forceBookAppointment(input: BookBookingAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CancelAppointment */ cancelAppointment(input: CancelBookingAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ForceCancelAppointment */ forceCancelAppointment(input: CancelBookingAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteAppointment */ deleteAppointment(input: DeleteBookingAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: UpdateAppointment */ updateAppointment(input: UpdateBookingAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: UpdateAppointmentNoReference */ updateAppointmentNoReference(input: UpdateBookingAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ForceUpdateAppointment */ forceUpdateAppointment(input: UpdateBookingAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: WMSUpdateAppointment */ wMSUpdateAppointment(input: WMSUpdateBookingAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: RescheduleAppointment */ rescheduleAppointment(input: RescheduleBookingAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ForceRescheduleAppointment */ forceRescheduleAppointment(input: RescheduleBookingAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CheckAppointmentEditable */ checkAppointmentEditable(input: CheckBookingAppointmentEditableRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: LockBooking */ lockBooking(input: LockBookingRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.BookingService */ export class BookingServiceClient implements IBookingServiceClient, ServiceInfo { typeName = BookingService.typeName; methods = BookingService.methods; options = BookingService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: GetAvailableSlots */ getAvailableSlots(input: GetBookingSlotsRequest, 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: GetAllSlots */ getAllSlots(input: GetBookingSlotsRequest, 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: BookAppointment */ bookAppointment(input: BookBookingAppointmentRequest, 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: BookAppointmentNoReference */ bookAppointmentNoReference(input: BookBookingAppointmentRequest, 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: ForceBookAppointment */ forceBookAppointment(input: BookBookingAppointmentRequest, 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: CancelAppointment */ cancelAppointment(input: CancelBookingAppointmentRequest, 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: ForceCancelAppointment */ forceCancelAppointment(input: CancelBookingAppointmentRequest, 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: DeleteAppointment */ deleteAppointment(input: DeleteBookingAppointmentRequest, 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: UpdateAppointment */ updateAppointment(input: UpdateBookingAppointmentRequest, 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: UpdateAppointmentNoReference */ updateAppointmentNoReference(input: UpdateBookingAppointmentRequest, 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: ForceUpdateAppointment */ forceUpdateAppointment(input: UpdateBookingAppointmentRequest, options?: RpcOptions): UnaryCall { const method = this.methods[10], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: WMSUpdateAppointment */ wMSUpdateAppointment(input: WMSUpdateBookingAppointmentRequest, options?: RpcOptions): UnaryCall { const method = this.methods[11], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: RescheduleAppointment */ rescheduleAppointment(input: RescheduleBookingAppointmentRequest, options?: RpcOptions): UnaryCall { const method = this.methods[12], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ForceRescheduleAppointment */ forceRescheduleAppointment(input: RescheduleBookingAppointmentRequest, options?: RpcOptions): UnaryCall { const method = this.methods[13], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: CheckAppointmentEditable */ checkAppointmentEditable(input: CheckBookingAppointmentEditableRequest, options?: RpcOptions): UnaryCall { const method = this.methods[14], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: LockBooking */ lockBooking(input: LockBookingRequest, options?: RpcOptions): UnaryCall { const method = this.methods[15], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }