// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "site.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { SiteService } from "./site"; import type { ListSettingsResponse } from "./site"; import type { ListSettingsRequest } from "./site"; import type { CheckAppointmentEditableResponse } from "./site"; import type { CheckAppointmentEditableRequest } from "./site"; import type { GetMyBookingContextResponse } from "./site"; import type { GetMyBookingContextRequest } from "./site"; import type { GetBookingContextResponse } from "./site"; import type { GetBookingContextRequest } from "./site"; import type { InitBookerProfileResponse } from "./site"; import type { InitBookerProfileRequest } from "./site"; import type { ResolveSiteResponse } from "./site"; import type { ResolveSiteRequest } from "./site"; import type { GetBookingSegmentationsResponse } from "./site"; import type { GetBookingSegmentationsRequest } from "./site"; import type { GetActorAuthorisationResponse } from "./site"; import type { GetActorAuthorisationRequest } from "./site"; import type { ListAllowedSitesResponse } from "./site"; import type { ListAllowedSitesRequest } from "./site"; import type { ListSitesAuthorizedForBookingResponse } from "./site"; import type { ListSitesAuthorizedForBookingRequest } from "./site"; import type { GetBasicSettingsResponse } from "./site"; import type { GetBasicSettingsRequest } from "./site"; import type { GetUnitsResponse } from "./site"; import type { GetUnitsRequest } from "./site"; import type { CreateSettingsResponse } from "./site"; import type { CreateSettingsRequest } from "./site"; import type { DeleteSettingsResult } from "./site"; import type { DeleteSettingsRequest } from "./site"; import type { RescheduleAppointmentRequest } from "./site"; import type { WMSUpdateAppointmentRequest } from "./site"; import type { UpdateAppointmentRequest } from "./site"; import type { CancelAppointmentResponse } from "./site"; import type { CancelAppointmentRequest } from "./site"; import type { BookAppointmentResponse } from "./site"; import type { BookAppointmentRequest } from "./site"; import type { CheckAppointmentCommissionResponse } from "./site"; import type { CheckAppointmentCommissionRequest } from "./site"; import type { GetAllSlotsResponse } from "./site"; import type { GetAvailableSlotsResponse } from "./site"; import type { GetAvailableSlotsRequest } from "./site"; import type { DeleteInstructionDocumentResponse } from "./site"; import type { DeleteInstructionDocumentRequest } from "./site"; import type { UploadInstructionDocumentResponse } from "./site"; import type { UploadInstructionDocumentRequest } from "./site"; import type { DeletePhotoResponse } from "./site"; import type { DeletePhotoRequest } from "./site"; import type { UploadPhotoResponse } from "./site"; import type { UploadPhotoRequest } from "./site"; import type { UpdateSettingsResponse } from "./site"; import type { UpdateSettingsRequest } from "./site"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { GetSettingsResponse } from "./site"; import type { GetSettingsRequest } from "./site"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.SiteService */ export interface ISiteServiceClient { /** * @generated from protobuf rpc: GetSettings */ getSettings(input: GetSettingsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: UpdateSettings */ updateSettings(input: UpdateSettingsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: UploadPhoto */ uploadPhoto(input: UploadPhotoRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeletePhoto */ deletePhoto(input: DeletePhotoRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: UploadInstructionDocument */ uploadInstructionDocument(input: UploadInstructionDocumentRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteInstructionDocument */ deleteInstructionDocument(input: DeleteInstructionDocumentRequest, options?: RpcOptions): UnaryCall; /** * @deprecated * @generated from protobuf rpc: GetAvailableSlots */ getAvailableSlots(input: GetAvailableSlotsRequest, options?: RpcOptions): UnaryCall; /** * @deprecated * @generated from protobuf rpc: GetAllSlots */ getAllSlots(input: GetAvailableSlotsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CheckAppointmentCommission */ checkAppointmentCommission(input: CheckAppointmentCommissionRequest, options?: RpcOptions): UnaryCall; /** * @deprecated * @generated from protobuf rpc: BookAppointment */ bookAppointment(input: BookAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @deprecated * @generated from protobuf rpc: BookAppointmentNoReference */ bookAppointmentNoReference(input: BookAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @deprecated * @generated from protobuf rpc: ForceBookAppointment */ forceBookAppointment(input: BookAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @deprecated * @generated from protobuf rpc: CancelAppointment */ cancelAppointment(input: CancelAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @deprecated * @generated from protobuf rpc: UpdateAppointment */ updateAppointment(input: UpdateAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @deprecated * @generated from protobuf rpc: UpdateAppointmentNoReference */ updateAppointmentNoReference(input: UpdateAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @deprecated * @generated from protobuf rpc: ForceUpdateAppointment */ forceUpdateAppointment(input: UpdateAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @deprecated * @generated from protobuf rpc: WMSUpdateAppointment */ wMSUpdateAppointment(input: WMSUpdateAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @deprecated * @generated from protobuf rpc: RescheduleAppointment */ rescheduleAppointment(input: RescheduleAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @deprecated * @generated from protobuf rpc: ForceRescheduleAppointment */ forceRescheduleAppointment(input: RescheduleAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteSettings */ deleteSettings(input: DeleteSettingsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CreateSettings */ createSettings(input: CreateSettingsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetUnits */ getUnits(input: GetUnitsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetBasicSettings */ getBasicSettings(input: GetBasicSettingsRequest, options?: RpcOptions): UnaryCall; /** * @deprecated * @generated from protobuf rpc: ListSitesAuthorizedForBooking */ listSitesAuthorizedForBooking(input: ListSitesAuthorizedForBookingRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListAllowedSites */ listAllowedSites(input: ListAllowedSitesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetActorAuthorisation */ getActorAuthorisation(input: GetActorAuthorisationRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetBookingSegmentations */ getBookingSegmentations(input: GetBookingSegmentationsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ResolveSite */ resolveSite(input: ResolveSiteRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: InitBookerProfile */ initBookerProfile(input: InitBookerProfileRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetBookingContext */ getBookingContext(input: GetBookingContextRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetMyBookingContext */ getMyBookingContext(input: GetMyBookingContextRequest, options?: RpcOptions): UnaryCall; /** * @deprecated * @generated from protobuf rpc: CheckAppointmentEditable */ checkAppointmentEditable(input: CheckAppointmentEditableRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListSettings */ listSettings(input: ListSettingsRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.SiteService */ export class SiteServiceClient implements ISiteServiceClient, ServiceInfo { typeName = SiteService.typeName; methods = SiteService.methods; options = SiteService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: GetSettings */ getSettings(input: GetSettingsRequest, 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: UpdateSettings */ updateSettings(input: UpdateSettingsRequest, 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: UploadPhoto */ uploadPhoto(input: UploadPhotoRequest, 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: DeletePhoto */ deletePhoto(input: DeletePhotoRequest, 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: UploadInstructionDocument */ uploadInstructionDocument(input: UploadInstructionDocumentRequest, 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: DeleteInstructionDocument */ deleteInstructionDocument(input: DeleteInstructionDocumentRequest, options?: RpcOptions): UnaryCall { const method = this.methods[5], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @deprecated * @generated from protobuf rpc: GetAvailableSlots */ getAvailableSlots(input: GetAvailableSlotsRequest, options?: RpcOptions): UnaryCall { const method = this.methods[6], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @deprecated * @generated from protobuf rpc: GetAllSlots */ getAllSlots(input: GetAvailableSlotsRequest, 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: CheckAppointmentCommission */ checkAppointmentCommission(input: CheckAppointmentCommissionRequest, options?: RpcOptions): UnaryCall { const method = this.methods[8], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @deprecated * @generated from protobuf rpc: BookAppointment */ bookAppointment(input: BookAppointmentRequest, options?: RpcOptions): UnaryCall { const method = this.methods[9], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @deprecated * @generated from protobuf rpc: BookAppointmentNoReference */ bookAppointmentNoReference(input: BookAppointmentRequest, options?: RpcOptions): UnaryCall { const method = this.methods[10], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @deprecated * @generated from protobuf rpc: ForceBookAppointment */ forceBookAppointment(input: BookAppointmentRequest, options?: RpcOptions): UnaryCall { const method = this.methods[11], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @deprecated * @generated from protobuf rpc: CancelAppointment */ cancelAppointment(input: CancelAppointmentRequest, options?: RpcOptions): UnaryCall { const method = this.methods[12], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @deprecated * @generated from protobuf rpc: UpdateAppointment */ updateAppointment(input: UpdateAppointmentRequest, options?: RpcOptions): UnaryCall { const method = this.methods[13], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @deprecated * @generated from protobuf rpc: UpdateAppointmentNoReference */ updateAppointmentNoReference(input: UpdateAppointmentRequest, options?: RpcOptions): UnaryCall { const method = this.methods[14], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @deprecated * @generated from protobuf rpc: ForceUpdateAppointment */ forceUpdateAppointment(input: UpdateAppointmentRequest, options?: RpcOptions): UnaryCall { const method = this.methods[15], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @deprecated * @generated from protobuf rpc: WMSUpdateAppointment */ wMSUpdateAppointment(input: WMSUpdateAppointmentRequest, options?: RpcOptions): UnaryCall { const method = this.methods[16], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @deprecated * @generated from protobuf rpc: RescheduleAppointment */ rescheduleAppointment(input: RescheduleAppointmentRequest, options?: RpcOptions): UnaryCall { const method = this.methods[17], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @deprecated * @generated from protobuf rpc: ForceRescheduleAppointment */ forceRescheduleAppointment(input: RescheduleAppointmentRequest, options?: RpcOptions): UnaryCall { const method = this.methods[18], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: DeleteSettings */ deleteSettings(input: DeleteSettingsRequest, options?: RpcOptions): UnaryCall { const method = this.methods[19], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: CreateSettings */ createSettings(input: CreateSettingsRequest, options?: RpcOptions): UnaryCall { const method = this.methods[20], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: GetUnits */ getUnits(input: GetUnitsRequest, options?: RpcOptions): UnaryCall { const method = this.methods[21], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: GetBasicSettings */ getBasicSettings(input: GetBasicSettingsRequest, options?: RpcOptions): UnaryCall { const method = this.methods[22], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @deprecated * @generated from protobuf rpc: ListSitesAuthorizedForBooking */ listSitesAuthorizedForBooking(input: ListSitesAuthorizedForBookingRequest, options?: RpcOptions): UnaryCall { const method = this.methods[23], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListAllowedSites */ listAllowedSites(input: ListAllowedSitesRequest, options?: RpcOptions): UnaryCall { const method = this.methods[24], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: GetActorAuthorisation */ getActorAuthorisation(input: GetActorAuthorisationRequest, options?: RpcOptions): UnaryCall { const method = this.methods[25], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: GetBookingSegmentations */ getBookingSegmentations(input: GetBookingSegmentationsRequest, options?: RpcOptions): UnaryCall { const method = this.methods[26], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ResolveSite */ resolveSite(input: ResolveSiteRequest, options?: RpcOptions): UnaryCall { const method = this.methods[27], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: InitBookerProfile */ initBookerProfile(input: InitBookerProfileRequest, options?: RpcOptions): UnaryCall { const method = this.methods[28], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: GetBookingContext */ getBookingContext(input: GetBookingContextRequest, options?: RpcOptions): UnaryCall { const method = this.methods[29], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: GetMyBookingContext */ getMyBookingContext(input: GetMyBookingContextRequest, options?: RpcOptions): UnaryCall { const method = this.methods[30], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @deprecated * @generated from protobuf rpc: CheckAppointmentEditable */ checkAppointmentEditable(input: CheckAppointmentEditableRequest, options?: RpcOptions): UnaryCall { const method = this.methods[31], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListSettings */ listSettings(input: ListSettingsRequest, options?: RpcOptions): UnaryCall { const method = this.methods[32], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }