Files
npm-core-sdk/org.client.ts
2025-07-29 08:44:59 +00:00

298 lines
17 KiB
TypeScript

// @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<GetOrganisationRequest, GetOrganisationResult>;
/**
* @generated from protobuf rpc: Create
*/
create(input: CreateOrganisationRequest, options?: RpcOptions): UnaryCall<CreateOrganisationRequest, CreateOrganisationResult>;
/**
* @generated from protobuf rpc: SetModules
*/
setModules(input: SetModulesOrganisationRequest, options?: RpcOptions): UnaryCall<SetModulesOrganisationRequest, SetModulesOrganisationResult>;
/**
* @generated from protobuf rpc: Update
*/
update(input: UpdateOrganisationRequest, options?: RpcOptions): UnaryCall<UpdateOrganisationRequest, UpdateOrganisationResult>;
/**
* @generated from protobuf rpc: Delete
*/
delete(input: DeleteOrganisationRequest, options?: RpcOptions): UnaryCall<DeleteOrganisationRequest, DeleteOrganisationResult>;
/**
* @generated from protobuf rpc: List
*/
list(input: ListOrganisationRequest, options?: RpcOptions): UnaryCall<ListOrganisationRequest, ListOrganisationResult>;
/**
* @generated from protobuf rpc: UpdateStatus
*/
updateStatus(input: UpdateOrganisationStatusRequest, options?: RpcOptions): UnaryCall<UpdateOrganisationStatusRequest, UpdateOrganisationStatusResult>;
/**
* @generated from protobuf rpc: StartStreamingJobs
*/
startStreamingJobs(input: StartStreamingJobsRequest, options?: RpcOptions): UnaryCall<StartStreamingJobsRequest, StartStreamingJobsResult>;
/**
* @generated from protobuf rpc: StopStreamingJobs
*/
stopStreamingJobs(input: StopStreamingJobsRequest, options?: RpcOptions): UnaryCall<StopStreamingJobsRequest, StopStreamingJobsResult>;
/**
* @generated from protobuf rpc: CheckStreamingStatus
*/
checkStreamingStatus(input: CheckStreamingStatusRequest, options?: RpcOptions): UnaryCall<CheckStreamingStatusRequest, CheckStreamingStatusResult>;
/**
* @generated from protobuf rpc: StopAllStreamingJobs
*/
stopAllStreamingJobs(input: StopAllStreamingJobsRequest, options?: RpcOptions): UnaryCall<StopAllStreamingJobsRequest, StopAllStreamingJobsResult>;
/**
* @generated from protobuf rpc: RestartAllStreamingJobs
*/
restartAllStreamingJobs(input: RestartAllStreamingJobsRequest, options?: RpcOptions): UnaryCall<RestartAllStreamingJobsRequest, RestartAllStreamingJobsResult>;
/**
* @generated from protobuf rpc: StartAllStreamingJobs
*/
startAllStreamingJobs(input: StartAllStreamingJobsRequest, options?: RpcOptions): UnaryCall<StartAllStreamingJobsRequest, StartAllStreamingJobsResult>;
/**
* @generated from protobuf rpc: ForceStopAllStreamingJobs
*/
forceStopAllStreamingJobs(input: ForceStopAllStreamingJobsRequest, options?: RpcOptions): UnaryCall<ForceStopAllStreamingJobsRequest, ForceStopAllStreamingJobsResult>;
/**
* @generated from protobuf rpc: StartStreamingMetricsJob
*/
startStreamingMetricsJob(input: StartStreamingMetricsJobRequest, options?: RpcOptions): UnaryCall<StartStreamingMetricsJobRequest, StartStreamingMetricsJobResult>;
/**
* @generated from protobuf rpc: StopStreamingMetricsJob
*/
stopStreamingMetricsJob(input: StopStreamingMetricsJobRequest, options?: RpcOptions): UnaryCall<StopStreamingMetricsJobRequest, StopStreamingMetricsJobResult>;
/**
* @generated from protobuf rpc: StartIndividualStreamingJob
*/
startIndividualStreamingJob(input: StartIndividualStreamingJobRequest, options?: RpcOptions): UnaryCall<StartIndividualStreamingJobRequest, StartIndividualStreamingJobResult>;
/**
* @generated from protobuf rpc: StopIndividualStreamingJob
*/
stopIndividualStreamingJob(input: StopIndividualStreamingJobRequest, options?: RpcOptions): UnaryCall<StopIndividualStreamingJobRequest, StopIndividualStreamingJobResult>;
/**
* @generated from protobuf rpc: ProvisionGitOrg
*/
provisionGitOrg(input: ProvisionGitOrgRequest, options?: RpcOptions): UnaryCall<ProvisionGitOrgRequest, ProvisionGitOrgResult>;
/**
* @generated from protobuf rpc: DeprovisionGitOrg
*/
deprovisionGitOrg(input: DeprovisionGitOrgRequest, options?: RpcOptions): UnaryCall<DeprovisionGitOrgRequest, DeprovisionGitOrgResult>;
/**
* @generated from protobuf rpc: DeleteOrganisationInDB
*/
deleteOrganisationInDB(input: DeleteOrganisationInDBRequest, options?: RpcOptions): UnaryCall<DeleteOrganisationInDBRequest, DeleteOrganisationInDBResult>;
}
/**
* @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<GetOrganisationRequest, GetOrganisationResult> {
const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<GetOrganisationRequest, GetOrganisationResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Create
*/
create(input: CreateOrganisationRequest, options?: RpcOptions): UnaryCall<CreateOrganisationRequest, CreateOrganisationResult> {
const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateOrganisationRequest, CreateOrganisationResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: SetModules
*/
setModules(input: SetModulesOrganisationRequest, options?: RpcOptions): UnaryCall<SetModulesOrganisationRequest, SetModulesOrganisationResult> {
const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<SetModulesOrganisationRequest, SetModulesOrganisationResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Update
*/
update(input: UpdateOrganisationRequest, options?: RpcOptions): UnaryCall<UpdateOrganisationRequest, UpdateOrganisationResult> {
const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateOrganisationRequest, UpdateOrganisationResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Delete
*/
delete(input: DeleteOrganisationRequest, options?: RpcOptions): UnaryCall<DeleteOrganisationRequest, DeleteOrganisationResult> {
const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteOrganisationRequest, DeleteOrganisationResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: List
*/
list(input: ListOrganisationRequest, options?: RpcOptions): UnaryCall<ListOrganisationRequest, ListOrganisationResult> {
const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<ListOrganisationRequest, ListOrganisationResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UpdateStatus
*/
updateStatus(input: UpdateOrganisationStatusRequest, options?: RpcOptions): UnaryCall<UpdateOrganisationStatusRequest, UpdateOrganisationStatusResult> {
const method = this.methods[6], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateOrganisationStatusRequest, UpdateOrganisationStatusResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartStreamingJobs
*/
startStreamingJobs(input: StartStreamingJobsRequest, options?: RpcOptions): UnaryCall<StartStreamingJobsRequest, StartStreamingJobsResult> {
const method = this.methods[7], opt = this._transport.mergeOptions(options);
return stackIntercept<StartStreamingJobsRequest, StartStreamingJobsResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StopStreamingJobs
*/
stopStreamingJobs(input: StopStreamingJobsRequest, options?: RpcOptions): UnaryCall<StopStreamingJobsRequest, StopStreamingJobsResult> {
const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept<StopStreamingJobsRequest, StopStreamingJobsResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CheckStreamingStatus
*/
checkStreamingStatus(input: CheckStreamingStatusRequest, options?: RpcOptions): UnaryCall<CheckStreamingStatusRequest, CheckStreamingStatusResult> {
const method = this.methods[9], opt = this._transport.mergeOptions(options);
return stackIntercept<CheckStreamingStatusRequest, CheckStreamingStatusResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StopAllStreamingJobs
*/
stopAllStreamingJobs(input: StopAllStreamingJobsRequest, options?: RpcOptions): UnaryCall<StopAllStreamingJobsRequest, StopAllStreamingJobsResult> {
const method = this.methods[10], opt = this._transport.mergeOptions(options);
return stackIntercept<StopAllStreamingJobsRequest, StopAllStreamingJobsResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: RestartAllStreamingJobs
*/
restartAllStreamingJobs(input: RestartAllStreamingJobsRequest, options?: RpcOptions): UnaryCall<RestartAllStreamingJobsRequest, RestartAllStreamingJobsResult> {
const method = this.methods[11], opt = this._transport.mergeOptions(options);
return stackIntercept<RestartAllStreamingJobsRequest, RestartAllStreamingJobsResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartAllStreamingJobs
*/
startAllStreamingJobs(input: StartAllStreamingJobsRequest, options?: RpcOptions): UnaryCall<StartAllStreamingJobsRequest, StartAllStreamingJobsResult> {
const method = this.methods[12], opt = this._transport.mergeOptions(options);
return stackIntercept<StartAllStreamingJobsRequest, StartAllStreamingJobsResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ForceStopAllStreamingJobs
*/
forceStopAllStreamingJobs(input: ForceStopAllStreamingJobsRequest, options?: RpcOptions): UnaryCall<ForceStopAllStreamingJobsRequest, ForceStopAllStreamingJobsResult> {
const method = this.methods[13], opt = this._transport.mergeOptions(options);
return stackIntercept<ForceStopAllStreamingJobsRequest, ForceStopAllStreamingJobsResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartStreamingMetricsJob
*/
startStreamingMetricsJob(input: StartStreamingMetricsJobRequest, options?: RpcOptions): UnaryCall<StartStreamingMetricsJobRequest, StartStreamingMetricsJobResult> {
const method = this.methods[14], opt = this._transport.mergeOptions(options);
return stackIntercept<StartStreamingMetricsJobRequest, StartStreamingMetricsJobResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StopStreamingMetricsJob
*/
stopStreamingMetricsJob(input: StopStreamingMetricsJobRequest, options?: RpcOptions): UnaryCall<StopStreamingMetricsJobRequest, StopStreamingMetricsJobResult> {
const method = this.methods[15], opt = this._transport.mergeOptions(options);
return stackIntercept<StopStreamingMetricsJobRequest, StopStreamingMetricsJobResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartIndividualStreamingJob
*/
startIndividualStreamingJob(input: StartIndividualStreamingJobRequest, options?: RpcOptions): UnaryCall<StartIndividualStreamingJobRequest, StartIndividualStreamingJobResult> {
const method = this.methods[16], opt = this._transport.mergeOptions(options);
return stackIntercept<StartIndividualStreamingJobRequest, StartIndividualStreamingJobResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StopIndividualStreamingJob
*/
stopIndividualStreamingJob(input: StopIndividualStreamingJobRequest, options?: RpcOptions): UnaryCall<StopIndividualStreamingJobRequest, StopIndividualStreamingJobResult> {
const method = this.methods[17], opt = this._transport.mergeOptions(options);
return stackIntercept<StopIndividualStreamingJobRequest, StopIndividualStreamingJobResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ProvisionGitOrg
*/
provisionGitOrg(input: ProvisionGitOrgRequest, options?: RpcOptions): UnaryCall<ProvisionGitOrgRequest, ProvisionGitOrgResult> {
const method = this.methods[18], opt = this._transport.mergeOptions(options);
return stackIntercept<ProvisionGitOrgRequest, ProvisionGitOrgResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeprovisionGitOrg
*/
deprovisionGitOrg(input: DeprovisionGitOrgRequest, options?: RpcOptions): UnaryCall<DeprovisionGitOrgRequest, DeprovisionGitOrgResult> {
const method = this.methods[19], opt = this._transport.mergeOptions(options);
return stackIntercept<DeprovisionGitOrgRequest, DeprovisionGitOrgResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteOrganisationInDB
*/
deleteOrganisationInDB(input: DeleteOrganisationInDBRequest, options?: RpcOptions): UnaryCall<DeleteOrganisationInDBRequest, DeleteOrganisationInDBResult> {
const method = this.methods[20], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteOrganisationInDBRequest, DeleteOrganisationInDBResult>("unary", this._transport, method, opt, input);
}
}