// @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 { DeleteSiteInDBResult } from "./site"; import type { DeleteSiteInDBRequest } from "./site"; import type { UpdateSiteStatusResult } from "./site"; import type { UpdateSiteStatusRequest } from "./site"; import type { ModifyAppointmentDateResponse } from "./site"; import type { ModifyAppointmentDateRequest } from "./site"; import type { CancelAppointmentResponse } from "./site"; import type { CancelAppointmentRequest } from "./site"; import type { WMSBookAppointmentNoReferenceRequest } from "./site"; import type { BookAppointmentNoReferenceRequest } from "./site"; import type { WMSBookAppointmentRequest } from "./site"; import type { BookAppointmentResponse } from "./site"; import type { BookAppointmentRequest } from "./site"; import type { ListUserSitesResponse } from "./site"; import type { ListUserSitesRequest } from "./site"; import type { GetAllSlotsResponse } from "./site"; import type { GetAvailableSlotsResponse } from "./site"; import type { GetAvailableSlotsRequest } from "./site"; import type { SuggestSiteIDResult } from "./site"; import type { SuggestSiteIDRequest } 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 { DeleteSiteResponse } from "./site"; import type { DeleteSiteRequest } from "./site"; import type { UpdateSiteResponse } from "./site"; import type { UpdateSiteRequest } from "./site"; import type { ListSiteResponse } from "./site"; import type { ListSiteRequest } from "./site"; import type { GetSiteResponse } from "./site"; import type { GetSiteRequest } from "./site"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { CreateSiteResponse } from "./site"; import type { CreateSiteRequest } 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: Create */ create(input: CreateSiteRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Get */ get(input: GetSiteRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: List */ list(input: ListSiteRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Update */ update(input: UpdateSiteRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Delete */ delete(input: DeleteSiteRequest, 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; /** * @generated from protobuf rpc: SuggestID */ suggestID(input: SuggestSiteIDRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetAvailableSlots */ getAvailableSlots(input: GetAvailableSlotsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetAllSlots */ getAllSlots(input: GetAvailableSlotsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListUserSites */ listUserSites(input: ListUserSitesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: BookAppointment */ bookAppointment(input: BookAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ForceBookAppointment */ forceBookAppointment(input: BookAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: WMSForceBookAppointment */ wMSForceBookAppointment(input: WMSBookAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: BookAppointmentNoReference */ bookAppointmentNoReference(input: BookAppointmentNoReferenceRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ForceBookAppointmentNoReference */ forceBookAppointmentNoReference(input: BookAppointmentNoReferenceRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: WMSForceBookAppointmentNoReference */ wMSForceBookAppointmentNoReference(input: WMSBookAppointmentNoReferenceRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CancelAppointment */ cancelAppointment(input: CancelAppointmentRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ModifyAppointmentDate */ modifyAppointmentDate(input: ModifyAppointmentDateRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: UpdateStatus */ updateStatus(input: UpdateSiteStatusRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteSiteInDB */ deleteSiteInDB(input: DeleteSiteInDBRequest, 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: Create */ create(input: CreateSiteRequest, 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: Get */ get(input: GetSiteRequest, 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: List */ list(input: ListSiteRequest, 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: Update */ update(input: UpdateSiteRequest, 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: Delete */ delete(input: DeleteSiteRequest, 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: UploadPhoto */ uploadPhoto(input: UploadPhotoRequest, 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: DeletePhoto */ deletePhoto(input: DeletePhotoRequest, 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: UploadInstructionDocument */ uploadInstructionDocument(input: UploadInstructionDocumentRequest, 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: DeleteInstructionDocument */ deleteInstructionDocument(input: DeleteInstructionDocumentRequest, 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: SuggestID */ suggestID(input: SuggestSiteIDRequest, 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: GetAvailableSlots */ getAvailableSlots(input: GetAvailableSlotsRequest, 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: GetAllSlots */ getAllSlots(input: GetAvailableSlotsRequest, 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: ListUserSites */ listUserSites(input: ListUserSitesRequest, 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: BookAppointment */ bookAppointment(input: BookAppointmentRequest, 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: ForceBookAppointment */ forceBookAppointment(input: BookAppointmentRequest, 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: WMSForceBookAppointment */ wMSForceBookAppointment(input: WMSBookAppointmentRequest, options?: RpcOptions): UnaryCall { const method = this.methods[15], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: BookAppointmentNoReference */ bookAppointmentNoReference(input: BookAppointmentNoReferenceRequest, options?: RpcOptions): UnaryCall { const method = this.methods[16], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ForceBookAppointmentNoReference */ forceBookAppointmentNoReference(input: BookAppointmentNoReferenceRequest, options?: RpcOptions): UnaryCall { const method = this.methods[17], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: WMSForceBookAppointmentNoReference */ wMSForceBookAppointmentNoReference(input: WMSBookAppointmentNoReferenceRequest, 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: CancelAppointment */ cancelAppointment(input: CancelAppointmentRequest, 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: ModifyAppointmentDate */ modifyAppointmentDate(input: ModifyAppointmentDateRequest, 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: UpdateStatus */ updateStatus(input: UpdateSiteStatusRequest, 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: DeleteSiteInDB */ deleteSiteInDB(input: DeleteSiteInDBRequest, options?: RpcOptions): UnaryCall { const method = this.methods[22], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }