You've already forked npm-core-sdk
181 lines
11 KiB
TypeScript
181 lines
11 KiB
TypeScript
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
|
|
// @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 { ImportClassicHolidaysOnSiteResponse } from "./calendar";
|
|
import type { ImportClassicHolidaysOnSiteRequest } from "./calendar";
|
|
import type { DeleteCalendarOnSiteResponse } from "./calendar";
|
|
import type { DeleteCalendarOnSiteRequest } from "./calendar";
|
|
import type { UpdateCalendarOnSiteResponse } from "./calendar";
|
|
import type { UpdateCalendarOnSiteRequest } from "./calendar";
|
|
import type { ListCalendarOnSiteResponse } from "./calendar";
|
|
import type { ListCalendarOnSiteRequest } from "./calendar";
|
|
import type { GetCalendarOnSiteResponse } from "./calendar";
|
|
import type { GetCalendarOnSiteRequest } from "./calendar";
|
|
import type { CreateCalendarOnSiteResponse } from "./calendar";
|
|
import type { CreateCalendarOnSiteRequest } from "./calendar";
|
|
import type { ImportClassicHolidaysOnOrganisationResponse } from "./calendar";
|
|
import type { ImportClassicHolidaysOnOrganisationRequest } from "./calendar";
|
|
import type { DeleteCalendarOnOrganisationResponse } from "./calendar";
|
|
import type { DeleteCalendarOnOrganisationRequest } from "./calendar";
|
|
import type { UpdateCalendarOnOrganisationResponse } from "./calendar";
|
|
import type { UpdateCalendarOnOrganisationRequest } from "./calendar";
|
|
import type { ListCalendarOnOrganisationResponse } from "./calendar";
|
|
import type { ListCalendarOnOrganisationRequest } from "./calendar";
|
|
import type { GetCalendarOnOrganisationResponse } from "./calendar";
|
|
import type { GetCalendarOnOrganisationRequest } from "./calendar";
|
|
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
import type { CreateCalendarOnOrganisationResponse } from "./calendar";
|
|
import type { CreateCalendarOnOrganisationRequest } 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: CreateCalendarOnOrganisation
|
|
*/
|
|
createCalendarOnOrganisation(input: CreateCalendarOnOrganisationRequest, options?: RpcOptions): UnaryCall<CreateCalendarOnOrganisationRequest, CreateCalendarOnOrganisationResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: GetCalendarOnOrganisation
|
|
*/
|
|
getCalendarOnOrganisation(input: GetCalendarOnOrganisationRequest, options?: RpcOptions): UnaryCall<GetCalendarOnOrganisationRequest, GetCalendarOnOrganisationResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: ListCalendarOnOrganisation
|
|
*/
|
|
listCalendarOnOrganisation(input: ListCalendarOnOrganisationRequest, options?: RpcOptions): UnaryCall<ListCalendarOnOrganisationRequest, ListCalendarOnOrganisationResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: UpdateCalendarOnOrganisation
|
|
*/
|
|
updateCalendarOnOrganisation(input: UpdateCalendarOnOrganisationRequest, options?: RpcOptions): UnaryCall<UpdateCalendarOnOrganisationRequest, UpdateCalendarOnOrganisationResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: DeleteCalendarOnOrganisation
|
|
*/
|
|
deleteCalendarOnOrganisation(input: DeleteCalendarOnOrganisationRequest, options?: RpcOptions): UnaryCall<DeleteCalendarOnOrganisationRequest, DeleteCalendarOnOrganisationResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: ImportClassicHolidaysOnOrganisation
|
|
*/
|
|
importClassicHolidaysOnOrganisation(input: ImportClassicHolidaysOnOrganisationRequest, options?: RpcOptions): UnaryCall<ImportClassicHolidaysOnOrganisationRequest, ImportClassicHolidaysOnOrganisationResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: CreateCalendarOnSite
|
|
*/
|
|
createCalendarOnSite(input: CreateCalendarOnSiteRequest, options?: RpcOptions): UnaryCall<CreateCalendarOnSiteRequest, CreateCalendarOnSiteResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: GetCalendarOnSite
|
|
*/
|
|
getCalendarOnSite(input: GetCalendarOnSiteRequest, options?: RpcOptions): UnaryCall<GetCalendarOnSiteRequest, GetCalendarOnSiteResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: ListCalendarOnSite
|
|
*/
|
|
listCalendarOnSite(input: ListCalendarOnSiteRequest, options?: RpcOptions): UnaryCall<ListCalendarOnSiteRequest, ListCalendarOnSiteResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: UpdateCalendarOnSite
|
|
*/
|
|
updateCalendarOnSite(input: UpdateCalendarOnSiteRequest, options?: RpcOptions): UnaryCall<UpdateCalendarOnSiteRequest, UpdateCalendarOnSiteResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: DeleteCalendarOnSite
|
|
*/
|
|
deleteCalendarOnSite(input: DeleteCalendarOnSiteRequest, options?: RpcOptions): UnaryCall<DeleteCalendarOnSiteRequest, DeleteCalendarOnSiteResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: ImportClassicHolidaysOnSite
|
|
*/
|
|
importClassicHolidaysOnSite(input: ImportClassicHolidaysOnSiteRequest, options?: RpcOptions): UnaryCall<ImportClassicHolidaysOnSiteRequest, ImportClassicHolidaysOnSiteResponse>;
|
|
}
|
|
/**
|
|
* @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: CreateCalendarOnOrganisation
|
|
*/
|
|
createCalendarOnOrganisation(input: CreateCalendarOnOrganisationRequest, options?: RpcOptions): UnaryCall<CreateCalendarOnOrganisationRequest, CreateCalendarOnOrganisationResponse> {
|
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<CreateCalendarOnOrganisationRequest, CreateCalendarOnOrganisationResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetCalendarOnOrganisation
|
|
*/
|
|
getCalendarOnOrganisation(input: GetCalendarOnOrganisationRequest, options?: RpcOptions): UnaryCall<GetCalendarOnOrganisationRequest, GetCalendarOnOrganisationResponse> {
|
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetCalendarOnOrganisationRequest, GetCalendarOnOrganisationResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListCalendarOnOrganisation
|
|
*/
|
|
listCalendarOnOrganisation(input: ListCalendarOnOrganisationRequest, options?: RpcOptions): UnaryCall<ListCalendarOnOrganisationRequest, ListCalendarOnOrganisationResponse> {
|
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListCalendarOnOrganisationRequest, ListCalendarOnOrganisationResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: UpdateCalendarOnOrganisation
|
|
*/
|
|
updateCalendarOnOrganisation(input: UpdateCalendarOnOrganisationRequest, options?: RpcOptions): UnaryCall<UpdateCalendarOnOrganisationRequest, UpdateCalendarOnOrganisationResponse> {
|
|
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<UpdateCalendarOnOrganisationRequest, UpdateCalendarOnOrganisationResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: DeleteCalendarOnOrganisation
|
|
*/
|
|
deleteCalendarOnOrganisation(input: DeleteCalendarOnOrganisationRequest, options?: RpcOptions): UnaryCall<DeleteCalendarOnOrganisationRequest, DeleteCalendarOnOrganisationResponse> {
|
|
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<DeleteCalendarOnOrganisationRequest, DeleteCalendarOnOrganisationResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ImportClassicHolidaysOnOrganisation
|
|
*/
|
|
importClassicHolidaysOnOrganisation(input: ImportClassicHolidaysOnOrganisationRequest, options?: RpcOptions): UnaryCall<ImportClassicHolidaysOnOrganisationRequest, ImportClassicHolidaysOnOrganisationResponse> {
|
|
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ImportClassicHolidaysOnOrganisationRequest, ImportClassicHolidaysOnOrganisationResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: CreateCalendarOnSite
|
|
*/
|
|
createCalendarOnSite(input: CreateCalendarOnSiteRequest, options?: RpcOptions): UnaryCall<CreateCalendarOnSiteRequest, CreateCalendarOnSiteResponse> {
|
|
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<CreateCalendarOnSiteRequest, CreateCalendarOnSiteResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetCalendarOnSite
|
|
*/
|
|
getCalendarOnSite(input: GetCalendarOnSiteRequest, options?: RpcOptions): UnaryCall<GetCalendarOnSiteRequest, GetCalendarOnSiteResponse> {
|
|
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetCalendarOnSiteRequest, GetCalendarOnSiteResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListCalendarOnSite
|
|
*/
|
|
listCalendarOnSite(input: ListCalendarOnSiteRequest, options?: RpcOptions): UnaryCall<ListCalendarOnSiteRequest, ListCalendarOnSiteResponse> {
|
|
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListCalendarOnSiteRequest, ListCalendarOnSiteResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: UpdateCalendarOnSite
|
|
*/
|
|
updateCalendarOnSite(input: UpdateCalendarOnSiteRequest, options?: RpcOptions): UnaryCall<UpdateCalendarOnSiteRequest, UpdateCalendarOnSiteResponse> {
|
|
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<UpdateCalendarOnSiteRequest, UpdateCalendarOnSiteResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: DeleteCalendarOnSite
|
|
*/
|
|
deleteCalendarOnSite(input: DeleteCalendarOnSiteRequest, options?: RpcOptions): UnaryCall<DeleteCalendarOnSiteRequest, DeleteCalendarOnSiteResponse> {
|
|
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<DeleteCalendarOnSiteRequest, DeleteCalendarOnSiteResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ImportClassicHolidaysOnSite
|
|
*/
|
|
importClassicHolidaysOnSite(input: ImportClassicHolidaysOnSiteRequest, options?: RpcOptions): UnaryCall<ImportClassicHolidaysOnSiteRequest, ImportClassicHolidaysOnSiteResponse> {
|
|
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ImportClassicHolidaysOnSiteRequest, ImportClassicHolidaysOnSiteResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
}
|