// @generated by protobuf-ts 2.9.6 // @generated from protobuf file "orderInput.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { OrderInputAPI } from "./orderInput"; import type { OrderDeletedResponse } from "./orderInput"; import type { OrderDeletedRequest } from "./orderInput"; import type { OrderClaimAddedResponse } from "./orderInput"; import type { OrderClaimAddedRequest } from "./orderInput"; import type { OrderAttachmentRemovedResponse } from "./orderInput"; import type { OrderAttachmentRemovedRequest } from "./orderInput"; import type { OrderAttachmentAddedResponse } from "./orderInput"; import type { OrderAttachmentAddedRequest } from "./orderInput"; import type { OrderCarrierUpdatedResponse } from "./orderInput"; import type { OrderCarrierUpdatedRequest } from "./orderInput"; import type { OrderMetaDataUpdatedResponse } from "./orderInput"; import type { OrderMetaDataUpdatedRequest } from "./orderInput"; import type { OrderExecutionflowUpdatedResponse } from "./orderInput"; import type { OrderExecutionflowUpdatedRequest } from "./orderInput"; import type { OrderCompletedResponse } from "./orderInput"; import type { OrderCompletedRequest } from "./orderInput"; import type { OrderExecutionflowETAUpdatedResponse } from "./orderInput"; import type { OrderExecutionflowETAUpdatedRequest } from "./orderInput"; import type { OrderRequestedDeliveryDateDefinedResponse } from "./orderInput"; import type { OrderRequestedDeliveryDateDefinedRequest } from "./orderInput"; import type { OrderPartiallyCompletedResponse } from "./orderInput"; import type { OrderPartiallyCompletedRequest } from "./orderInput"; import type { OrderShipperAssignedResponse } from "./orderInput"; import type { OrderShipperAssignedRequest } from "./orderInput"; import type { OrderAnonymisedResponse } from "./orderInput"; import type { OrderAnonymisedRequest } from "./orderInput"; import type { OrderCancelledResponse } from "./orderInput"; import type { OrderCancelledRequest } from "./orderInput"; import type { OrderExecutionflowDetectedResponse } from "./orderInput"; import type { OrderExecutionflowDetectedRequest } from "./orderInput"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { OrderCreatedResponse } from "./orderInput"; import type { OrderCreatedRequest } from "./orderInput"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * * API-server services * * @generated from protobuf service api.OrderInputAPI */ export interface IOrderInputAPIClient { /** * @generated from protobuf rpc: Created(api.OrderCreatedRequest) returns (api.OrderCreatedResponse); */ created(input: OrderCreatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ExecutionflowDetected(api.OrderExecutionflowDetectedRequest) returns (api.OrderExecutionflowDetectedResponse); */ executionflowDetected(input: OrderExecutionflowDetectedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Cancelled(api.OrderCancelledRequest) returns (api.OrderCancelledResponse); */ cancelled(input: OrderCancelledRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Anonymised(api.OrderAnonymisedRequest) returns (api.OrderAnonymisedResponse); */ anonymised(input: OrderAnonymisedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ShipperAssigned(api.OrderShipperAssignedRequest) returns (api.OrderShipperAssignedResponse); */ shipperAssigned(input: OrderShipperAssignedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: PartiallyCompleted(api.OrderPartiallyCompletedRequest) returns (api.OrderPartiallyCompletedResponse); */ partiallyCompleted(input: OrderPartiallyCompletedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: RequestedDeliveryDateDefined(api.OrderRequestedDeliveryDateDefinedRequest) returns (api.OrderRequestedDeliveryDateDefinedResponse); */ requestedDeliveryDateDefined(input: OrderRequestedDeliveryDateDefinedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ExecutionflowETAUpdated(api.OrderExecutionflowETAUpdatedRequest) returns (api.OrderExecutionflowETAUpdatedResponse); */ executionflowETAUpdated(input: OrderExecutionflowETAUpdatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Completed(api.OrderCompletedRequest) returns (api.OrderCompletedResponse); */ completed(input: OrderCompletedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ExecutionflowUpdated(api.OrderExecutionflowUpdatedRequest) returns (api.OrderExecutionflowUpdatedResponse); */ executionflowUpdated(input: OrderExecutionflowUpdatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: MetaDataUpdated(api.OrderMetaDataUpdatedRequest) returns (api.OrderMetaDataUpdatedResponse); */ metaDataUpdated(input: OrderMetaDataUpdatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CarrierUpdated(api.OrderCarrierUpdatedRequest) returns (api.OrderCarrierUpdatedResponse); */ carrierUpdated(input: OrderCarrierUpdatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: AttachmentAdded(api.OrderAttachmentAddedRequest) returns (api.OrderAttachmentAddedResponse); */ attachmentAdded(input: OrderAttachmentAddedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: AttachmentRemoved(api.OrderAttachmentRemovedRequest) returns (api.OrderAttachmentRemovedResponse); */ attachmentRemoved(input: OrderAttachmentRemovedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ClaimAdded(api.OrderClaimAddedRequest) returns (api.OrderClaimAddedResponse); */ claimAdded(input: OrderClaimAddedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Deleted(api.OrderDeletedRequest) returns (api.OrderDeletedResponse); */ deleted(input: OrderDeletedRequest, options?: RpcOptions): UnaryCall; } /** * * API-server services * * @generated from protobuf service api.OrderInputAPI */ export class OrderInputAPIClient implements IOrderInputAPIClient, ServiceInfo { typeName = OrderInputAPI.typeName; methods = OrderInputAPI.methods; options = OrderInputAPI.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Created(api.OrderCreatedRequest) returns (api.OrderCreatedResponse); */ created(input: OrderCreatedRequest, 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: ExecutionflowDetected(api.OrderExecutionflowDetectedRequest) returns (api.OrderExecutionflowDetectedResponse); */ executionflowDetected(input: OrderExecutionflowDetectedRequest, 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: Cancelled(api.OrderCancelledRequest) returns (api.OrderCancelledResponse); */ cancelled(input: OrderCancelledRequest, 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: Anonymised(api.OrderAnonymisedRequest) returns (api.OrderAnonymisedResponse); */ anonymised(input: OrderAnonymisedRequest, 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: ShipperAssigned(api.OrderShipperAssignedRequest) returns (api.OrderShipperAssignedResponse); */ shipperAssigned(input: OrderShipperAssignedRequest, 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: PartiallyCompleted(api.OrderPartiallyCompletedRequest) returns (api.OrderPartiallyCompletedResponse); */ partiallyCompleted(input: OrderPartiallyCompletedRequest, 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: RequestedDeliveryDateDefined(api.OrderRequestedDeliveryDateDefinedRequest) returns (api.OrderRequestedDeliveryDateDefinedResponse); */ requestedDeliveryDateDefined(input: OrderRequestedDeliveryDateDefinedRequest, 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: ExecutionflowETAUpdated(api.OrderExecutionflowETAUpdatedRequest) returns (api.OrderExecutionflowETAUpdatedResponse); */ executionflowETAUpdated(input: OrderExecutionflowETAUpdatedRequest, 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: Completed(api.OrderCompletedRequest) returns (api.OrderCompletedResponse); */ completed(input: OrderCompletedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[8], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ExecutionflowUpdated(api.OrderExecutionflowUpdatedRequest) returns (api.OrderExecutionflowUpdatedResponse); */ executionflowUpdated(input: OrderExecutionflowUpdatedRequest, 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: MetaDataUpdated(api.OrderMetaDataUpdatedRequest) returns (api.OrderMetaDataUpdatedResponse); */ metaDataUpdated(input: OrderMetaDataUpdatedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[10], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: CarrierUpdated(api.OrderCarrierUpdatedRequest) returns (api.OrderCarrierUpdatedResponse); */ carrierUpdated(input: OrderCarrierUpdatedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[11], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: AttachmentAdded(api.OrderAttachmentAddedRequest) returns (api.OrderAttachmentAddedResponse); */ attachmentAdded(input: OrderAttachmentAddedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[12], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: AttachmentRemoved(api.OrderAttachmentRemovedRequest) returns (api.OrderAttachmentRemovedResponse); */ attachmentRemoved(input: OrderAttachmentRemovedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[13], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ClaimAdded(api.OrderClaimAddedRequest) returns (api.OrderClaimAddedResponse); */ claimAdded(input: OrderClaimAddedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[14], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Deleted(api.OrderDeletedRequest) returns (api.OrderDeletedResponse); */ deleted(input: OrderDeletedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[15], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }