// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "itemInput.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { ItemInputAPI } from "./itemInput"; import type { ItemPhotoUriUpdatedResponse } from "./itemInput"; import type { ItemPhotoUriUpdatedRequest } from "./itemInput"; import type { ItemCustomFieldsUpdatedResponse } from "./itemInput"; import type { ItemCustomFieldsUpdatedRequest } from "./itemInput"; import type { ItemSanitisedResponse } from "./itemInput"; import type { ItemSanitisedRequest } from "./itemInput"; import type { ItemAttachmentRemovedResponse } from "./itemInput"; import type { ItemAttachmentRemovedRequest } from "./itemInput"; import type { ItemAttachmentAddedResponse } from "./itemInput"; import type { ItemAttachmentAddedRequest } from "./itemInput"; import type { ItemDescriptionUpdatedResponse } from "./itemInput"; import type { ItemDescriptionUpdatedRequest } from "./itemInput"; import type { ItemDeletedResponse } from "./itemInput"; import type { ItemDeletedRequest } from "./itemInput"; import type { ItemMetaDataUpdatedResponse } from "./itemInput"; import type { ItemMetaDataUpdatedRequest } from "./itemInput"; import type { ItemLogisticVariantRemovedResponse } from "./itemInput"; import type { ItemLogisticVariantRemovedRequest } from "./itemInput"; import type { ItemLogisticVariantUpdatedResponse } from "./itemInput"; import type { ItemLogisticVariantUpdatedRequest } from "./itemInput"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { ItemCreatedResponse } from "./itemInput"; import type { ItemCreatedRequest } from "./itemInput"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * * API-server services * * @generated from protobuf service api.ItemInputAPI */ export interface IItemInputAPIClient { /** * @generated from protobuf rpc: Created */ created(input: ItemCreatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: LogisticVariantUpdated */ logisticVariantUpdated(input: ItemLogisticVariantUpdatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: LogisticVariantRemoved */ logisticVariantRemoved(input: ItemLogisticVariantRemovedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: MetaDataUpdated */ metaDataUpdated(input: ItemMetaDataUpdatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Deleted */ deleted(input: ItemDeletedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DescriptionUpdated */ descriptionUpdated(input: ItemDescriptionUpdatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: AttachmentAdded */ attachmentAdded(input: ItemAttachmentAddedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: AttachmentRemoved */ attachmentRemoved(input: ItemAttachmentRemovedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Sanitised */ sanitised(input: ItemSanitisedRequest, options?: RpcOptions): UnaryCall; // // rpc ClaimAdded (ItemClaimAddedRequest) returns (ItemClaimAddedResponse) { // option (tags) = "PROJECT_ACTIVITY"; // option (rscType) = "Project"; // option (roles) = "Platform.Project-Claim"; // option (platformReserved) = true; // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { // description: "A claim is added for the Item." // summary: "" // tags: "Item Inputs" // }; // option (google.api.method_visibility).restriction = "INTERNAL"; // }; /** * @generated from protobuf rpc: CustomFieldsUpdated */ customFieldsUpdated(input: ItemCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: PhotoUriUpdated */ photoUriUpdated(input: ItemPhotoUriUpdatedRequest, options?: RpcOptions): UnaryCall; } /** * * API-server services * * @generated from protobuf service api.ItemInputAPI */ export class ItemInputAPIClient implements IItemInputAPIClient, ServiceInfo { typeName = ItemInputAPI.typeName; methods = ItemInputAPI.methods; options = ItemInputAPI.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Created */ created(input: ItemCreatedRequest, 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: LogisticVariantUpdated */ logisticVariantUpdated(input: ItemLogisticVariantUpdatedRequest, 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: LogisticVariantRemoved */ logisticVariantRemoved(input: ItemLogisticVariantRemovedRequest, 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: MetaDataUpdated */ metaDataUpdated(input: ItemMetaDataUpdatedRequest, 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: Deleted */ deleted(input: ItemDeletedRequest, 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: DescriptionUpdated */ descriptionUpdated(input: ItemDescriptionUpdatedRequest, 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: AttachmentAdded */ attachmentAdded(input: ItemAttachmentAddedRequest, 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: AttachmentRemoved */ attachmentRemoved(input: ItemAttachmentRemovedRequest, 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: Sanitised */ sanitised(input: ItemSanitisedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[8], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } // // rpc ClaimAdded (ItemClaimAddedRequest) returns (ItemClaimAddedResponse) { // option (tags) = "PROJECT_ACTIVITY"; // option (rscType) = "Project"; // option (roles) = "Platform.Project-Claim"; // option (platformReserved) = true; // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { // description: "A claim is added for the Item." // summary: "" // tags: "Item Inputs" // }; // option (google.api.method_visibility).restriction = "INTERNAL"; // }; /** * @generated from protobuf rpc: CustomFieldsUpdated */ customFieldsUpdated(input: ItemCustomFieldsUpdatedRequest, 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: PhotoUriUpdated */ photoUriUpdated(input: ItemPhotoUriUpdatedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[10], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }