// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name // @generated from protobuf file "viz-project-settings.proto" (package "vizapi", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { ProjectSettingsService } from "./viz-project-settings"; import type { DeleteSettingsForProjectResult } from "./viz-project-settings"; import type { DeleteSettingsForProjectRequest } from "./viz-project-settings"; import type { ListProjectOrganisationSettingsResult } from "./viz-project-settings"; import type { ListProjectOrganisationSettingsRequest } from "./viz-project-settings"; import type { ListProjectSettingsResult } from "./viz-project-settings"; import type { ListProjectSettingsRequest } from "./viz-project-settings"; import type { DeleteProjectSettingResult } from "./viz-project-settings"; import type { DeleteProjectSettingRequest } from "./viz-project-settings"; import type { PutProjectSettingResult } from "./viz-project-settings"; import type { PutProjectSettingRequest } from "./viz-project-settings"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { GetProjectSettingResult } from "./viz-project-settings"; import type { GetProjectSettingRequest } from "./viz-project-settings"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service vizapi.ProjectSettingsService */ export interface IProjectSettingsServiceClient { /** * @generated from protobuf rpc: Get */ get(input: GetProjectSettingRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Put */ put(input: PutProjectSettingRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Delete */ delete(input: DeleteProjectSettingRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: List */ list(input: ListProjectSettingsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListOrganisationSettings */ listOrganisationSettings(input: ListProjectOrganisationSettingsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteSettingsForProject */ deleteSettingsForProject(input: DeleteSettingsForProjectRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service vizapi.ProjectSettingsService */ export class ProjectSettingsServiceClient implements IProjectSettingsServiceClient, ServiceInfo { typeName = ProjectSettingsService.typeName; methods = ProjectSettingsService.methods; options = ProjectSettingsService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Get */ get(input: GetProjectSettingRequest, 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: Put */ put(input: PutProjectSettingRequest, 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: Delete */ delete(input: DeleteProjectSettingRequest, 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: List */ list(input: ListProjectSettingsRequest, 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: ListOrganisationSettings */ listOrganisationSettings(input: ListProjectOrganisationSettingsRequest, 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: DeleteSettingsForProject */ deleteSettingsForProject(input: DeleteSettingsForProjectRequest, options?: RpcOptions): UnaryCall { const method = this.methods[5], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }