// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "movementInput.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { MovementInputAPI } from "./movementInput"; import type { MovementCustomFieldsUpdatedResponse } from "./movementInput"; import type { MovementCustomFieldsUpdatedRequest } from "./movementInput"; import type { MovementSanitisedResponse } from "./movementInput"; import type { MovementSanitisedRequest } from "./movementInput"; import type { MovementDeletedResponse } from "./movementInput"; import type { MovementDeletedRequest } from "./movementInput"; import type { MovementAttachmentRemovedResponse } from "./movementInput"; import type { MovementAttachmentRemovedRequest } from "./movementInput"; import type { MovementAttachmentAddedResponse } from "./movementInput"; import type { MovementAttachmentAddedRequest } from "./movementInput"; import type { MovementClaimAddedResponse } from "./movementInput"; import type { MovementClaimAddedRequest } from "./movementInput"; import type { MovementStockValueUpdatedResponse } from "./movementInput"; import type { MovementStockValueUpdatedRequest } from "./movementInput"; import type { MovementGeneratedResponse } from "./movementInput"; import type { MovementGeneratedRequest } from "./movementInput"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { MovementCreatedResponse } from "./movementInput"; import type { MovementCreatedRequest } from "./movementInput"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * * API-server services * * @generated from protobuf service api.MovementInputAPI */ export interface IMovementInputAPIClient { /** * @generated from protobuf rpc: Created */ created(input: MovementCreatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Generated */ generated(input: MovementGeneratedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: StockValueUpdated */ stockValueUpdated(input: MovementStockValueUpdatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ClaimAdded */ claimAdded(input: MovementClaimAddedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: AttachmentAdded */ attachmentAdded(input: MovementAttachmentAddedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: AttachmentRemoved */ attachmentRemoved(input: MovementAttachmentRemovedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Deleted */ deleted(input: MovementDeletedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Sanitised */ sanitised(input: MovementSanitisedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CustomFieldsUpdated */ customFieldsUpdated(input: MovementCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall; } /** * * API-server services * * @generated from protobuf service api.MovementInputAPI */ export class MovementInputAPIClient implements IMovementInputAPIClient, ServiceInfo { typeName = MovementInputAPI.typeName; methods = MovementInputAPI.methods; options = MovementInputAPI.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Created */ created(input: MovementCreatedRequest, 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: Generated */ generated(input: MovementGeneratedRequest, 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: StockValueUpdated */ stockValueUpdated(input: MovementStockValueUpdatedRequest, 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: ClaimAdded */ claimAdded(input: MovementClaimAddedRequest, 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: AttachmentAdded */ attachmentAdded(input: MovementAttachmentAddedRequest, 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: AttachmentRemoved */ attachmentRemoved(input: MovementAttachmentRemovedRequest, 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: Deleted */ deleted(input: MovementDeletedRequest, 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: Sanitised */ sanitised(input: MovementSanitisedRequest, 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: CustomFieldsUpdated */ customFieldsUpdated(input: MovementCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[8], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }