// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "org.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { OrganisationService } from "./org"; import type { DeleteOrganisationInDBResult } from "./org"; import type { DeleteOrganisationInDBRequest } from "./org"; import type { DeprovisionGitOrgResult } from "./org"; import type { DeprovisionGitOrgRequest } from "./org"; import type { ProvisionGitOrgResult } from "./org"; import type { ProvisionGitOrgRequest } from "./org"; import type { StopIndividualStreamingJobResult } from "./org"; import type { StopIndividualStreamingJobRequest } from "./org"; import type { StartIndividualStreamingJobResult } from "./org"; import type { StartIndividualStreamingJobRequest } from "./org"; import type { StopStreamingMetricsJobResult } from "./org"; import type { StopStreamingMetricsJobRequest } from "./org"; import type { StartStreamingMetricsJobResult } from "./org"; import type { StartStreamingMetricsJobRequest } from "./org"; import type { ForceStopAllStreamingJobsResult } from "./org"; import type { ForceStopAllStreamingJobsRequest } from "./org"; import type { StartAllStreamingJobsResult } from "./org"; import type { StartAllStreamingJobsRequest } from "./org"; import type { RestartAllStreamingJobsResult } from "./org"; import type { RestartAllStreamingJobsRequest } from "./org"; import type { StopAllStreamingJobsResult } from "./org"; import type { StopAllStreamingJobsRequest } from "./org"; import type { CheckStreamingStatusResult } from "./org"; import type { CheckStreamingStatusRequest } from "./org"; import type { StopStreamingJobsResult } from "./org"; import type { StopStreamingJobsRequest } from "./org"; import type { StartStreamingJobsResult } from "./org"; import type { StartStreamingJobsRequest } from "./org"; import type { UpdateOrganisationStatusResult } from "./org"; import type { UpdateOrganisationStatusRequest } from "./org"; import type { ListOrganisationResult } from "./org"; import type { ListOrganisationRequest } from "./org"; import type { DeleteOrganisationResult } from "./org"; import type { DeleteOrganisationRequest } from "./org"; import type { UpdateOrganisationResult } from "./org"; import type { UpdateOrganisationRequest } from "./org"; import type { SetModulesOrganisationResult } from "./org"; import type { SetModulesOrganisationRequest } from "./org"; import type { CreateOrganisationResult } from "./org"; import type { CreateOrganisationRequest } from "./org"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { GetOrganisationResult } from "./org"; import type { GetOrganisationRequest } from "./org"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.OrganisationService */ export interface IOrganisationServiceClient { /** * @generated from protobuf rpc: Get */ get(input: GetOrganisationRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Create */ create(input: CreateOrganisationRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SetModules */ setModules(input: SetModulesOrganisationRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Update */ update(input: UpdateOrganisationRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Delete */ delete(input: DeleteOrganisationRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: List */ list(input: ListOrganisationRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: UpdateStatus */ updateStatus(input: UpdateOrganisationStatusRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: StartStreamingJobs */ startStreamingJobs(input: StartStreamingJobsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: StopStreamingJobs */ stopStreamingJobs(input: StopStreamingJobsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CheckStreamingStatus */ checkStreamingStatus(input: CheckStreamingStatusRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: StopAllStreamingJobs */ stopAllStreamingJobs(input: StopAllStreamingJobsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: RestartAllStreamingJobs */ restartAllStreamingJobs(input: RestartAllStreamingJobsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: StartAllStreamingJobs */ startAllStreamingJobs(input: StartAllStreamingJobsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ForceStopAllStreamingJobs */ forceStopAllStreamingJobs(input: ForceStopAllStreamingJobsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: StartStreamingMetricsJob */ startStreamingMetricsJob(input: StartStreamingMetricsJobRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: StopStreamingMetricsJob */ stopStreamingMetricsJob(input: StopStreamingMetricsJobRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: StartIndividualStreamingJob */ startIndividualStreamingJob(input: StartIndividualStreamingJobRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: StopIndividualStreamingJob */ stopIndividualStreamingJob(input: StopIndividualStreamingJobRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ProvisionGitOrg */ provisionGitOrg(input: ProvisionGitOrgRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeprovisionGitOrg */ deprovisionGitOrg(input: DeprovisionGitOrgRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteOrganisationInDB */ deleteOrganisationInDB(input: DeleteOrganisationInDBRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.OrganisationService */ export class OrganisationServiceClient implements IOrganisationServiceClient, ServiceInfo { typeName = OrganisationService.typeName; methods = OrganisationService.methods; options = OrganisationService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Get */ get(input: GetOrganisationRequest, 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: Create */ create(input: CreateOrganisationRequest, 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: SetModules */ setModules(input: SetModulesOrganisationRequest, 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: UpdateOrganisationRequest, 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: DeleteOrganisationRequest, 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: List */ list(input: ListOrganisationRequest, 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: UpdateStatus */ updateStatus(input: UpdateOrganisationStatusRequest, 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: StartStreamingJobs */ startStreamingJobs(input: StartStreamingJobsRequest, 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: StopStreamingJobs */ stopStreamingJobs(input: StopStreamingJobsRequest, 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: CheckStreamingStatus */ checkStreamingStatus(input: CheckStreamingStatusRequest, 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: StopAllStreamingJobs */ stopAllStreamingJobs(input: StopAllStreamingJobsRequest, 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: RestartAllStreamingJobs */ restartAllStreamingJobs(input: RestartAllStreamingJobsRequest, 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: StartAllStreamingJobs */ startAllStreamingJobs(input: StartAllStreamingJobsRequest, 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: ForceStopAllStreamingJobs */ forceStopAllStreamingJobs(input: ForceStopAllStreamingJobsRequest, 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: StartStreamingMetricsJob */ startStreamingMetricsJob(input: StartStreamingMetricsJobRequest, 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: StopStreamingMetricsJob */ stopStreamingMetricsJob(input: StopStreamingMetricsJobRequest, 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: StartIndividualStreamingJob */ startIndividualStreamingJob(input: StartIndividualStreamingJobRequest, 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: StopIndividualStreamingJob */ stopIndividualStreamingJob(input: StopIndividualStreamingJobRequest, 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: ProvisionGitOrg */ provisionGitOrg(input: ProvisionGitOrgRequest, 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: DeprovisionGitOrg */ deprovisionGitOrg(input: DeprovisionGitOrgRequest, 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: DeleteOrganisationInDB */ deleteOrganisationInDB(input: DeleteOrganisationInDBRequest, options?: RpcOptions): UnaryCall { const method = this.methods[20], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }