// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "calendar.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { CalendarService } from "./calendar"; import type { ComputeSLAPeriodOnSiteRequest } from "./calendar"; import type { GetPublicHolidaysResponse } from "./calendar"; import type { GetPublicHolidaysRequest } from "./calendar"; import type { DeleteOnSiteResponse } from "./calendar"; import type { DeleteOnSiteRequest } from "./calendar"; import type { UpdateOnSiteResponse } from "./calendar"; import type { UpdateOnSiteRequest } from "./calendar"; import type { ListOnSiteResponse } from "./calendar"; import type { ListOnSiteRequest } from "./calendar"; import type { GetOnSiteResponse } from "./calendar"; import type { GetOnSiteRequest } from "./calendar"; import type { CreateOnSiteResponse } from "./calendar"; import type { CreateOnSiteRequest } from "./calendar"; import type { ComputeSLAPeriodResponse } from "./calendar"; import type { ComputeSLAPeriodOnOrganisationRequest } from "./calendar"; import type { DeleteAllForProjectResponse } from "./calendar"; import type { DeleteAllForProjectRequest } from "./calendar"; import type { DeleteAllForOrganisationResponse } from "./calendar"; import type { DeleteAllForOrganisationRequest } from "./calendar"; import type { DeleteOnOrganisationResponse } from "./calendar"; import type { DeleteOnOrganisationRequest } from "./calendar"; import type { UpdateOnOrganisationResponse } from "./calendar"; import type { UpdateOnOrganisationRequest } from "./calendar"; import type { ListOnOrganisationResponse } from "./calendar"; import type { ListOnOrganisationRequest } from "./calendar"; import type { GetOnOrganisationResponse } from "./calendar"; import type { GetOnOrganisationRequest } from "./calendar"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { CreateOnOrganisationResponse } from "./calendar"; import type { CreateOnOrganisationRequest } from "./calendar"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.CalendarService */ export interface ICalendarServiceClient { /** * @generated from protobuf rpc: CreateOnOrganisation */ createOnOrganisation(input: CreateOnOrganisationRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetOnOrganisation */ getOnOrganisation(input: GetOnOrganisationRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListOnOrganisation */ listOnOrganisation(input: ListOnOrganisationRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: UpdateOnOrganisation */ updateOnOrganisation(input: UpdateOnOrganisationRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteOnOrganisation */ deleteOnOrganisation(input: DeleteOnOrganisationRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteAllForOrganisation */ deleteAllForOrganisation(input: DeleteAllForOrganisationRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteAllForProject */ deleteAllForProject(input: DeleteAllForProjectRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ComputeSLAPeriodOnOrganisation */ computeSLAPeriodOnOrganisation(input: ComputeSLAPeriodOnOrganisationRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CreateOnSite */ createOnSite(input: CreateOnSiteRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetOnSite */ getOnSite(input: GetOnSiteRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListOnSite */ listOnSite(input: ListOnSiteRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: UpdateOnSite */ updateOnSite(input: UpdateOnSiteRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteOnSite */ deleteOnSite(input: DeleteOnSiteRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetPublicHolidays */ getPublicHolidays(input: GetPublicHolidaysRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ComputeSLAPeriodOnSite */ computeSLAPeriodOnSite(input: ComputeSLAPeriodOnSiteRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.CalendarService */ export class CalendarServiceClient implements ICalendarServiceClient, ServiceInfo { typeName = CalendarService.typeName; methods = CalendarService.methods; options = CalendarService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: CreateOnOrganisation */ createOnOrganisation(input: CreateOnOrganisationRequest, 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: GetOnOrganisation */ getOnOrganisation(input: GetOnOrganisationRequest, 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: ListOnOrganisation */ listOnOrganisation(input: ListOnOrganisationRequest, 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: UpdateOnOrganisation */ updateOnOrganisation(input: UpdateOnOrganisationRequest, 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: DeleteOnOrganisation */ deleteOnOrganisation(input: DeleteOnOrganisationRequest, 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: DeleteAllForOrganisation */ deleteAllForOrganisation(input: DeleteAllForOrganisationRequest, 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: DeleteAllForProject */ deleteAllForProject(input: DeleteAllForProjectRequest, 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: ComputeSLAPeriodOnOrganisation */ computeSLAPeriodOnOrganisation(input: ComputeSLAPeriodOnOrganisationRequest, 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: CreateOnSite */ createOnSite(input: CreateOnSiteRequest, 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: GetOnSite */ getOnSite(input: GetOnSiteRequest, 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: ListOnSite */ listOnSite(input: ListOnSiteRequest, 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: UpdateOnSite */ updateOnSite(input: UpdateOnSiteRequest, 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: DeleteOnSite */ deleteOnSite(input: DeleteOnSiteRequest, 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: GetPublicHolidays */ getPublicHolidays(input: GetPublicHolidaysRequest, 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: ComputeSLAPeriodOnSite */ computeSLAPeriodOnSite(input: ComputeSLAPeriodOnSiteRequest, options?: RpcOptions): UnaryCall { const method = this.methods[14], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }