// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @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 { OrderCustomFieldsUpdatedResponse } from "./orderInput"; import type { OrderCustomFieldsUpdatedRequest } from "./orderInput"; import type { OrderSanitisedResponse } from "./orderInput"; import type { OrderSanitisedRequest } from "./orderInput"; import type { OrderLinesDetectedResponse } from "./orderInput"; import type { OrderLinesDetectedRequest } from "./orderInput"; import type { OrderLinesAddedResponse } from "./orderInput"; import type { OrderLinesAddedRequest } 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 type { OrderDraftCreatedResponse } from "./orderInput"; import type { OrderDraftCreatedRequest } 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 */ created(input: OrderCreatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DraftCreated */ draftCreated(input: OrderDraftCreatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ExecutionflowDetected */ executionflowDetected(input: OrderExecutionflowDetectedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Cancelled */ cancelled(input: OrderCancelledRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Anonymised */ anonymised(input: OrderAnonymisedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ShipperAssigned */ shipperAssigned(input: OrderShipperAssignedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: PartiallyCompleted */ partiallyCompleted(input: OrderPartiallyCompletedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: RequestedDeliveryDateDefined */ requestedDeliveryDateDefined(input: OrderRequestedDeliveryDateDefinedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ExecutionflowETAUpdated */ executionflowETAUpdated(input: OrderExecutionflowETAUpdatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Completed */ completed(input: OrderCompletedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ExecutionflowUpdated */ executionflowUpdated(input: OrderExecutionflowUpdatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: MetaDataUpdated */ metaDataUpdated(input: OrderMetaDataUpdatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CarrierUpdated */ carrierUpdated(input: OrderCarrierUpdatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: AttachmentAdded */ attachmentAdded(input: OrderAttachmentAddedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: AttachmentRemoved */ attachmentRemoved(input: OrderAttachmentRemovedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ClaimAdded */ claimAdded(input: OrderClaimAddedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Deleted */ deleted(input: OrderDeletedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: LinesAdded */ linesAdded(input: OrderLinesAddedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: LinesDetected */ linesDetected(input: OrderLinesDetectedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Sanitised */ sanitised(input: OrderSanitisedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CustomFieldsUpdated */ customFieldsUpdated(input: OrderCustomFieldsUpdatedRequest, 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 */ 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: DraftCreated */ draftCreated(input: OrderDraftCreatedRequest, 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: ExecutionflowDetected */ executionflowDetected(input: OrderExecutionflowDetectedRequest, 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: Cancelled */ cancelled(input: OrderCancelledRequest, 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: Anonymised */ anonymised(input: OrderAnonymisedRequest, 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: ShipperAssigned */ shipperAssigned(input: OrderShipperAssignedRequest, 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: PartiallyCompleted */ partiallyCompleted(input: OrderPartiallyCompletedRequest, 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: RequestedDeliveryDateDefined */ requestedDeliveryDateDefined(input: OrderRequestedDeliveryDateDefinedRequest, 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: ExecutionflowETAUpdated */ executionflowETAUpdated(input: OrderExecutionflowETAUpdatedRequest, 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: Completed */ completed(input: OrderCompletedRequest, 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: ExecutionflowUpdated */ executionflowUpdated(input: OrderExecutionflowUpdatedRequest, 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: MetaDataUpdated */ metaDataUpdated(input: OrderMetaDataUpdatedRequest, 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: CarrierUpdated */ carrierUpdated(input: OrderCarrierUpdatedRequest, 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: AttachmentAdded */ attachmentAdded(input: OrderAttachmentAddedRequest, 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: AttachmentRemoved */ attachmentRemoved(input: OrderAttachmentRemovedRequest, 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: ClaimAdded */ claimAdded(input: OrderClaimAddedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[15], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Deleted */ deleted(input: OrderDeletedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[16], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: LinesAdded */ linesAdded(input: OrderLinesAddedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[17], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: LinesDetected */ linesDetected(input: OrderLinesDetectedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[18], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Sanitised */ sanitised(input: OrderSanitisedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[19], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: CustomFieldsUpdated */ customFieldsUpdated(input: OrderCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[20], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }