Files
npm-viz-sdk/viz-project-settings.client.ts
2025-07-28 14:34:23 +00:00

103 lines
5.7 KiB
TypeScript

// @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<GetProjectSettingRequest, GetProjectSettingResult>;
/**
* @generated from protobuf rpc: Put
*/
put(input: PutProjectSettingRequest, options?: RpcOptions): UnaryCall<PutProjectSettingRequest, PutProjectSettingResult>;
/**
* @generated from protobuf rpc: Delete
*/
delete(input: DeleteProjectSettingRequest, options?: RpcOptions): UnaryCall<DeleteProjectSettingRequest, DeleteProjectSettingResult>;
/**
* @generated from protobuf rpc: List
*/
list(input: ListProjectSettingsRequest, options?: RpcOptions): UnaryCall<ListProjectSettingsRequest, ListProjectSettingsResult>;
/**
* @generated from protobuf rpc: ListOrganisationSettings
*/
listOrganisationSettings(input: ListProjectOrganisationSettingsRequest, options?: RpcOptions): UnaryCall<ListProjectOrganisationSettingsRequest, ListProjectOrganisationSettingsResult>;
/**
* @generated from protobuf rpc: DeleteSettingsForProject
*/
deleteSettingsForProject(input: DeleteSettingsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteSettingsForProjectRequest, DeleteSettingsForProjectResult>;
}
/**
* @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<GetProjectSettingRequest, GetProjectSettingResult> {
const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<GetProjectSettingRequest, GetProjectSettingResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Put
*/
put(input: PutProjectSettingRequest, options?: RpcOptions): UnaryCall<PutProjectSettingRequest, PutProjectSettingResult> {
const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<PutProjectSettingRequest, PutProjectSettingResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Delete
*/
delete(input: DeleteProjectSettingRequest, options?: RpcOptions): UnaryCall<DeleteProjectSettingRequest, DeleteProjectSettingResult> {
const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteProjectSettingRequest, DeleteProjectSettingResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: List
*/
list(input: ListProjectSettingsRequest, options?: RpcOptions): UnaryCall<ListProjectSettingsRequest, ListProjectSettingsResult> {
const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<ListProjectSettingsRequest, ListProjectSettingsResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListOrganisationSettings
*/
listOrganisationSettings(input: ListProjectOrganisationSettingsRequest, options?: RpcOptions): UnaryCall<ListProjectOrganisationSettingsRequest, ListProjectOrganisationSettingsResult> {
const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<ListProjectOrganisationSettingsRequest, ListProjectOrganisationSettingsResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteSettingsForProject
*/
deleteSettingsForProject(input: DeleteSettingsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteSettingsForProjectRequest, DeleteSettingsForProjectResult> {
const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteSettingsForProjectRequest, DeleteSettingsForProjectResult>("unary", this._transport, method, opt, input);
}
}