// @generated by protobuf-ts 2.9.6 // @generated from protobuf file "executionflowInput.proto" (package "api", syntax proto3) // tslint:disable import { ServiceType } from "@protobuf-ts/runtime-rpc"; import type { BinaryWriteOptions } from "@protobuf-ts/runtime"; import type { IBinaryWriter } from "@protobuf-ts/runtime"; import { WireType } from "@protobuf-ts/runtime"; import type { BinaryReadOptions } from "@protobuf-ts/runtime"; import type { IBinaryReader } from "@protobuf-ts/runtime"; import { UnknownFieldHandler } from "@protobuf-ts/runtime"; import type { PartialMessage } from "@protobuf-ts/runtime"; import { reflectionMergePartial } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime"; import { ClaimSummary } from "./shared"; import { AttachmentSummary } from "./shared"; import { ETA } from "./tradeShared"; import { ETAbyHU } from "./tradeShared"; import { HandlingunitSummary } from "./warehousingShared"; import { EventHeader } from "./shared"; import { ResponseHeader } from "./shared"; import { EntityID } from "./shared"; import { RequestProjectHeader } from "./shared"; import { ExeFlowLine } from "./tradeShared"; import { OrderRequestedMilestones } from "./tradeShared"; import { TradeTier } from "./tradeShared"; import { MetadataElement } from "./shared"; import { DateTime } from "./shared"; // // This message is coming from the OMS to initiate the information of the executionFlow // // Comments updated 2021/02/17 /** * @generated from protobuf message api.ExecutionflowCreatedPayload */ export interface ExecutionflowCreatedPayload { /** * @generated from protobuf field: api.DateTime CreationDateTime = 1 [json_name = "CreationDateTime"]; */ creationDateTime?: DateTime; /** * @generated from protobuf field: string OrderID = 2 [json_name = "OrderID"]; */ orderID: string; /** * Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp) * * @generated from protobuf field: repeated api.MetadataElement MetaData = 3 [json_name = "MetaData"]; */ metaData: MetadataElement[]; /** * Where to ship the order from * * @generated from protobuf field: api.TradeTier ShipFrom = 4 [json_name = "ShipFrom"]; */ shipFrom?: TradeTier; /** * Where to ship the order to * * @generated from protobuf field: api.TradeTier ShipTo = 5 [json_name = "ShipTo"]; */ shipTo?: TradeTier; /** * Definition of the order carrier * * @generated from protobuf field: api.TradeTier Carrier = 6 [json_name = "Carrier"]; */ carrier?: TradeTier; /** * Type of carrier service * * @generated from protobuf field: string CarrierService = 7 [json_name = "CarrierService"]; */ carrierService: string; /** * @generated from protobuf field: api.OrderRequestedMilestones RequestedMilestones = 8 [json_name = "RequestedMilestones"]; */ requestedMilestones?: OrderRequestedMilestones; /** * Definition of trade. Executionflow lines. Defines the requested goods and the prepared goods * * @generated from protobuf field: repeated api.ExeFlowLine Lines = 9 [json_name = "Lines"]; */ lines: ExeFlowLine[]; } /** * @generated from protobuf message api.ExecutionflowCreatedRequest */ export interface ExecutionflowCreatedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowCreatedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowCreatedPayload; } /** * @generated from protobuf message api.ExecutionflowCreatedResponse */ export interface ExecutionflowCreatedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // This message is coming from a shipFrom or ShipTo WMS to initiate an non-expected executionFlow // // Comments updated 2021/02/17 /** * @generated from protobuf message api.ExecutionflowDetectedPayload */ export interface ExecutionflowDetectedPayload { /** * @generated from protobuf field: api.DateTime CreationDateTime = 1 [json_name = "CreationDateTime"]; */ creationDateTime?: DateTime; /** * @generated from protobuf field: string OrderID = 2 [json_name = "OrderID"]; */ orderID: string; /** * Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp) * * @generated from protobuf field: repeated api.MetadataElement MetaData = 3 [json_name = "MetaData"]; */ metaData: MetadataElement[]; /** * Where to ship the order from * * @generated from protobuf field: api.TradeTier ShipFrom = 4 [json_name = "ShipFrom"]; */ shipFrom?: TradeTier; /** * Where to ship the order to * * @generated from protobuf field: api.TradeTier ShipTo = 5 [json_name = "ShipTo"]; */ shipTo?: TradeTier; /** * Definition of the order carrier * * @generated from protobuf field: api.TradeTier Carrier = 6 [json_name = "Carrier"]; */ carrier?: TradeTier; /** * Type of carrier service * * @generated from protobuf field: string CarrierService = 7 [json_name = "CarrierService"]; */ carrierService: string; /** * @generated from protobuf field: api.OrderRequestedMilestones RequestedMilestones = 8 [json_name = "RequestedMilestones"]; */ requestedMilestones?: OrderRequestedMilestones; /** * Definition of trade. Executionflow lines. Defines the requested goods and the prepared goods * * @generated from protobuf field: repeated api.ExeFlowLine Lines = 9 [json_name = "Lines"]; */ lines: ExeFlowLine[]; /** * @generated from protobuf field: bool ShipFromAcked = 14 [json_name = "ShipFromAcked"]; */ shipFromAcked: boolean; /** * @generated from protobuf field: bool ShipToAcked = 15 [json_name = "ShipToAcked"]; */ shipToAcked: boolean; } /** * @generated from protobuf message api.ExecutionflowDetectedRequest */ export interface ExecutionflowDetectedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowDetectedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowDetectedPayload; } /** * @generated from protobuf message api.ExecutionflowDetectedResponse */ export interface ExecutionflowDetectedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // This message has to be called manually to re-create the order associated to the executionflow // // Comments updated 2021/02/17 /** * @generated from protobuf message api.ExecutionflowRedetectedPayload */ export interface ExecutionflowRedetectedPayload { } /** * @generated from protobuf message api.ExecutionflowRedetectedEvent */ export interface ExecutionflowRedetectedEvent { /** * option (postAggMethods) = ""; // Here are listed the post aggregation methods to call when event message is aggregated * option (preAggMethods) = ""; // Here are listed the pre aggregation methods to call before event message is aggregated * * @generated from protobuf field: api.EventHeader Header = 1 [json_name = "Header"]; */ header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowRedetectedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowRedetectedPayload; } /** * @generated from protobuf message api.ExecutionflowRedetectedRequest */ export interface ExecutionflowRedetectedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowRedetectedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowRedetectedPayload; } /** * @generated from protobuf message api.ExecutionflowRedetectedResponse */ export interface ExecutionflowRedetectedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // This message is coming from a shipFrom WMS to ack the executionflow. // // Comments updated 2021/02/17 /** * @generated from protobuf message api.ExecutionflowShipFromAckedPayload */ export interface ExecutionflowShipFromAckedPayload { /** * @generated from protobuf field: bool ShipFromAcked = 1 [json_name = "ShipFromAcked"]; */ shipFromAcked: boolean; } /** * @generated from protobuf message api.ExecutionflowShipFromAckedRequest */ export interface ExecutionflowShipFromAckedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowShipFromAckedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowShipFromAckedPayload; } /** * @generated from protobuf message api.ExecutionflowShipFromAckedResponse */ export interface ExecutionflowShipFromAckedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // This message is coming from a shipTo WMS to ack the executionflow. // // Comments updated 2021/02/17 /** * @generated from protobuf message api.ExecutionflowShipToAckedPayload */ export interface ExecutionflowShipToAckedPayload { /** * @generated from protobuf field: bool ShipToAcked = 1 [json_name = "ShipToAcked"]; */ shipToAcked: boolean; } /** * @generated from protobuf message api.ExecutionflowShipToAckedRequest */ export interface ExecutionflowShipToAckedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowShipToAckedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowShipToAckedPayload; } /** * @generated from protobuf message api.ExecutionflowShipToAckedResponse */ export interface ExecutionflowShipToAckedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // ExecutionFlow is deleted when the parent order is ended. // // Mainly used to clean the flink state // // Comments updated 2021/02/17 /** * @generated from protobuf message api.ExecutionflowCancelledPayload */ export interface ExecutionflowCancelledPayload { } /** * @generated from protobuf message api.ExecutionflowCancelledEvent */ export interface ExecutionflowCancelledEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 [json_name = "Header"]; */ header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowCancelledPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowCancelledPayload; } /** * @generated from protobuf message api.ExecutionflowCancelledRequest */ export interface ExecutionflowCancelledRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowCancelledPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowCancelledPayload; } /** * @generated from protobuf message api.ExecutionflowCancelledResponse */ export interface ExecutionflowCancelledResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } /** * @generated from protobuf message api.ExecutionflowAnonymisedPayload */ export interface ExecutionflowAnonymisedPayload { } /** * @generated from protobuf message api.ExecutionflowAnonymisedRequest */ export interface ExecutionflowAnonymisedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowAnonymisedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowAnonymisedPayload; } /** * @generated from protobuf message api.ExecutionflowAnonymisedResponse */ export interface ExecutionflowAnonymisedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // ExecutionflowCompleted /** * @generated from protobuf message api.ExecutionflowCompletedPayload */ export interface ExecutionflowCompletedPayload { } /** * @generated from protobuf message api.ExecutionflowCompletedRequest */ export interface ExecutionflowCompletedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowCompletedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowCompletedPayload; } /** * @generated from protobuf message api.ExecutionflowCompletedResponse */ export interface ExecutionflowCompletedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // HUContentUpdated // - Inform the executionflow about the handlingunit content. // - Update the handlingunit goods status with tracking. /** * @generated from protobuf message api.ExecutionflowHUContentUpdatedPayload */ export interface ExecutionflowHUContentUpdatedPayload { /** * @generated from protobuf field: repeated api.HandlingunitSummary Handlingunits = 1 [json_name = "Handlingunits"]; */ handlingunits: HandlingunitSummary[]; } /** * @generated from protobuf message api.ExecutionflowHUContentUpdatedRequest */ export interface ExecutionflowHUContentUpdatedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowHUContentUpdatedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowHUContentUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowHUContentUpdatedResponse */ export interface ExecutionflowHUContentUpdatedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } /** * * HUTrackingUpdated * - Inform the executionflow about the handlingunit tracking status. * - Update the handlingunit goods status with tracking. * * @generated from protobuf message api.ExecutionflowHUTrackingUpdatedPayload */ export interface ExecutionflowHUTrackingUpdatedPayload { /** * @generated from protobuf field: repeated api.HandlingunitSummary Handlingunits = 1 [json_name = "Handlingunits"]; */ handlingunits: HandlingunitSummary[]; } /** * @generated from protobuf message api.ExecutionflowHUTrackingUpdatedRequest */ export interface ExecutionflowHUTrackingUpdatedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowHUTrackingUpdatedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowHUTrackingUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowHUTrackingUpdatedResponse */ export interface ExecutionflowHUTrackingUpdatedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } /** * * HUETAUpdated * - Inform the executionflow about the handlingunit ETAs updated. * * Comments updated 2024/01/09 * * @generated from protobuf message api.ExecutionflowHUETAUpdatedPayload */ export interface ExecutionflowHUETAUpdatedPayload { /** * @generated from protobuf field: repeated api.ETAbyHU HandlingunitETAs = 1 [json_name = "HandlingunitETAs"]; */ handlingunitETAs: ETAbyHU[]; } /** * @generated from protobuf message api.ExecutionflowHUETAUpdatedRequest */ export interface ExecutionflowHUETAUpdatedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowHUETAUpdatedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowHUETAUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowHUETAUpdatedResponse */ export interface ExecutionflowHUETAUpdatedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } /** * * ETAUpdated * - Inform the executionflow about the ETA updated directly on the executionflow * * Comments updated 2024/01/09 * * @generated from protobuf message api.ExecutionflowETAUpdatedPayload */ export interface ExecutionflowETAUpdatedPayload { /** * The ETA for the executionflow as given by WMS. this ETA will be aggregated with those coming from HUs * * @generated from protobuf field: api.ETA ExecutionflowETA = 1 [json_name = "ExecutionflowETA"]; */ executionflowETA?: ETA; } /** * @generated from protobuf message api.ExecutionflowETAUpdatedRequest */ export interface ExecutionflowETAUpdatedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowETAUpdatedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowETAUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowETAUpdatedResponse */ export interface ExecutionflowETAUpdatedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // An error occured on Allocation. This is typically called from an WMS when the something wrong happens on the executionflow // No payload // // Comments updated 2024/02/27 /** * @generated from protobuf message api.ExecutionflowAllocationErrorPayload */ export interface ExecutionflowAllocationErrorPayload { } /** * @generated from protobuf message api.ExecutionflowAllocationErrorRequest */ export interface ExecutionflowAllocationErrorRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowAllocationErrorPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowAllocationErrorPayload; } /** * @generated from protobuf message api.ExecutionflowAllocationErrorResponse */ export interface ExecutionflowAllocationErrorResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // Preparation is expected on the Execution Flow. This is typically called from an OMS // No payload to describe the preparation to be done /** * @generated from protobuf message api.ExecutionflowPreparationExpectedPayload */ export interface ExecutionflowPreparationExpectedPayload { } /** * @generated from protobuf message api.ExecutionflowPreparationExpectedRequest */ export interface ExecutionflowPreparationExpectedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowPreparationExpectedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowPreparationExpectedPayload; } /** * @generated from protobuf message api.ExecutionflowPreparationExpectedResponse */ export interface ExecutionflowPreparationExpectedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // Preparation has started on the Execution Flow. This is typically called from an OMS // No payload to describe the preparation to be done // // Comments updated 2021/12/06 /** * @generated from protobuf message api.ExecutionflowPreparationStartedPayload */ export interface ExecutionflowPreparationStartedPayload { } /** * @generated from protobuf message api.ExecutionflowPreparationStartedRequest */ export interface ExecutionflowPreparationStartedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowPreparationStartedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowPreparationStartedPayload; } /** * @generated from protobuf message api.ExecutionflowPreparationStartedResponse */ export interface ExecutionflowPreparationStartedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // Preparation is completed on the Execution Flow. This is typically called from an OMS // No payload to describe the preparation content, only the status // // Comments updated 2021/12/06 /** * @generated from protobuf message api.ExecutionflowPreparationCompletedPayload */ export interface ExecutionflowPreparationCompletedPayload { } /** * @generated from protobuf message api.ExecutionflowPreparationCompletedRequest */ export interface ExecutionflowPreparationCompletedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowPreparationCompletedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowPreparationCompletedPayload; } /** * @generated from protobuf message api.ExecutionflowPreparationCompletedResponse */ export interface ExecutionflowPreparationCompletedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // Transport is expected on the Execution Flow. This is typically called from an OMS // No payload to describe the preparation to be done /** * @generated from protobuf message api.ExecutionflowTransportExpectedPayload */ export interface ExecutionflowTransportExpectedPayload { } /** * @generated from protobuf message api.ExecutionflowTransportExpectedRequest */ export interface ExecutionflowTransportExpectedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowTransportExpectedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowTransportExpectedPayload; } /** * @generated from protobuf message api.ExecutionflowTransportExpectedResponse */ export interface ExecutionflowTransportExpectedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // Transport has started on the Execution Flow. This is typically called from an OMS // No payload to describe the preparation to be done // // Comments updated 2021/12/06 /** * @generated from protobuf message api.ExecutionflowTransportStartedPayload */ export interface ExecutionflowTransportStartedPayload { } /** * @generated from protobuf message api.ExecutionflowTransportStartedRequest */ export interface ExecutionflowTransportStartedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowTransportStartedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowTransportStartedPayload; } /** * @generated from protobuf message api.ExecutionflowTransportStartedResponse */ export interface ExecutionflowTransportStartedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // Transport is completed on the Execution Flow. This is typically called from an OMS // No payload to describe the preparation content, only the status // // Comments updated 2021/12/06 /** * @generated from protobuf message api.ExecutionflowTransportCompletedPayload */ export interface ExecutionflowTransportCompletedPayload { } /** * @generated from protobuf message api.ExecutionflowTransportCompletedRequest */ export interface ExecutionflowTransportCompletedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowTransportCompletedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowTransportCompletedPayload; } /** * @generated from protobuf message api.ExecutionflowTransportCompletedResponse */ export interface ExecutionflowTransportCompletedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // Receipt has started on the Execution Flow. This is typically called from an OMS // No payload to describe the preparation content, only the status /** * @generated from protobuf message api.ExecutionflowReceiptStartedPayload */ export interface ExecutionflowReceiptStartedPayload { } /** * @generated from protobuf message api.ExecutionflowReceiptStartedRequest */ export interface ExecutionflowReceiptStartedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowReceiptStartedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowReceiptStartedPayload; } /** * @generated from protobuf message api.ExecutionflowReceiptStartedResponse */ export interface ExecutionflowReceiptStartedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // Receipt is expected on the Execution Flow. This is typically called from an OMS // No payload to describe the preparation content, only the status /** * @generated from protobuf message api.ExecutionflowReceiptExpectedPayload */ export interface ExecutionflowReceiptExpectedPayload { } /** * @generated from protobuf message api.ExecutionflowReceiptExpectedRequest */ export interface ExecutionflowReceiptExpectedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowReceiptExpectedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowReceiptExpectedPayload; } /** * @generated from protobuf message api.ExecutionflowReceiptExpectedResponse */ export interface ExecutionflowReceiptExpectedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // Receipt is completed on the Execution Flow. This is typically called from an OMS // No payload to describe the preparation content, only the status // // Comments updated 2021/12/06 /** * @generated from protobuf message api.ExecutionflowReceiptCompletedPayload */ export interface ExecutionflowReceiptCompletedPayload { } /** * @generated from protobuf message api.ExecutionflowReceiptCompletedRequest */ export interface ExecutionflowReceiptCompletedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowReceiptCompletedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowReceiptCompletedPayload; } /** * @generated from protobuf message api.ExecutionflowReceiptCompletedResponse */ export interface ExecutionflowReceiptCompletedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // MetaDataUpdated // - Inform the executionflow about a metadata update. // // Comments updated 2022/10/19 /** * @generated from protobuf message api.ExecutionflowMetaDataUpdatedPayload */ export interface ExecutionflowMetaDataUpdatedPayload { /** * Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp) * * @generated from protobuf field: repeated api.MetadataElement MetaData = 1 [json_name = "MetaData"]; */ metaData: MetadataElement[]; } /** * @generated from protobuf message api.ExecutionflowMetaDataUpdatedRequest */ export interface ExecutionflowMetaDataUpdatedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowMetaDataUpdatedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowMetaDataUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowMetaDataUpdatedResponse */ export interface ExecutionflowMetaDataUpdatedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // CarrierUpdated // // Comments updated 2022/10/19 /** * @generated from protobuf message api.ExecutionflowCarrierUpdatedPayload */ export interface ExecutionflowCarrierUpdatedPayload { /** * Definition of the order carrier * * @generated from protobuf field: api.TradeTier Carrier = 1 [json_name = "Carrier"]; */ carrier?: TradeTier; /** * Type of carrier service * * @generated from protobuf field: string CarrierService = 2 [json_name = "CarrierService"]; */ carrierService: string; } /** * @generated from protobuf message api.ExecutionflowCarrierUpdatedRequest */ export interface ExecutionflowCarrierUpdatedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowCarrierUpdatedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowCarrierUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowCarrierUpdatedResponse */ export interface ExecutionflowCarrierUpdatedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // AttachmentAdded : this message tells that an attachment is added for the handlingUnit /** * @generated from protobuf message api.ExecutionflowAttachmentAddedPayload */ export interface ExecutionflowAttachmentAddedPayload { /** * @generated from protobuf field: repeated api.AttachmentSummary Attachments = 1 [json_name = "Attachments"]; */ attachments: AttachmentSummary[]; } /** * @generated from protobuf message api.ExecutionflowAttachmentAddedRequest */ export interface ExecutionflowAttachmentAddedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowAttachmentAddedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowAttachmentAddedPayload; } /** * @generated from protobuf message api.ExecutionflowAttachmentAddedResponse */ export interface ExecutionflowAttachmentAddedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // // AttachmentRemoved : this message tells that an attachment is removed for the handlingUnit /** * @generated from protobuf message api.ExecutionflowAttachmentRemovedPayload */ export interface ExecutionflowAttachmentRemovedPayload { /** * @generated from protobuf field: repeated api.AttachmentSummary Attachments = 1 [json_name = "Attachments"]; */ attachments: AttachmentSummary[]; } /** * @generated from protobuf message api.ExecutionflowAttachmentRemovedRequest */ export interface ExecutionflowAttachmentRemovedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowAttachmentRemovedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowAttachmentRemovedPayload; } /** * @generated from protobuf message api.ExecutionflowAttachmentRemovedResponse */ export interface ExecutionflowAttachmentRemovedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } /** * * ClaimAdded : this message tells that a claim is added for the Executionflow * * @generated from protobuf message api.ExecutionflowClaimAddedPayload */ export interface ExecutionflowClaimAddedPayload { /** * @generated from protobuf field: repeated api.ClaimSummary Claims = 1 [json_name = "Claims"]; */ claims: ClaimSummary[]; } /** * @generated from protobuf message api.ExecutionflowClaimAddedRequest */ export interface ExecutionflowClaimAddedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowClaimAddedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowClaimAddedPayload; } /** * @generated from protobuf message api.ExecutionflowClaimAddedResponse */ export interface ExecutionflowClaimAddedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } /** * Event Payload * * @generated from protobuf message api.ExecutionflowDeletedPayload */ export interface ExecutionflowDeletedPayload { } /** * API Request * * @generated from protobuf message api.ExecutionflowDeletedRequest */ export interface ExecutionflowDeletedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; /** * @generated from protobuf field: api.ExecutionflowDeletedPayload Payload = 3 [json_name = "Payload"]; */ payload?: ExecutionflowDeletedPayload; } /** * API Response * * @generated from protobuf message api.ExecutionflowDeletedResponse */ export interface ExecutionflowDeletedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"]; */ header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"]; */ iD?: EntityID; } // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCreatedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowCreatedPayload", [ { no: 1, name: "CreationDateTime", kind: "message", jsonName: "CreationDateTime", T: () => DateTime }, { no: 2, name: "OrderID", kind: "scalar", jsonName: "OrderID", T: 9 /*ScalarType.STRING*/ }, { no: 3, name: "MetaData", kind: "message", jsonName: "MetaData", repeat: 1 /*RepeatType.PACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } }, { no: 4, name: "ShipFrom", kind: "message", jsonName: "ShipFrom", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the order from" } } }, { no: 5, name: "ShipTo", kind: "message", jsonName: "ShipTo", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the order to" } } }, { no: 6, name: "Carrier", kind: "message", jsonName: "Carrier", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of the order carrier" } } }, { no: 7, name: "CarrierService", kind: "scalar", jsonName: "CarrierService", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of carrier service" } } }, { no: 8, name: "RequestedMilestones", kind: "message", jsonName: "RequestedMilestones", T: () => OrderRequestedMilestones }, { no: 9, name: "Lines", kind: "message", jsonName: "Lines", repeat: 1 /*RepeatType.PACKED*/, T: () => ExeFlowLine, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of trade. Executionflow lines. Defines the requested goods and the prepared goods" }, "api.aggKey": "LineID" } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created", "api.postAggMethods": "computeRequestedContent,computeHUContents", "api.preAggMethods": "verifyActorPartner" }); } create(value?: PartialMessage): ExecutionflowCreatedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.orderID = ""; message.metaData = []; message.carrierService = ""; message.lines = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCreatedPayload): ExecutionflowCreatedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.DateTime CreationDateTime = 1 [json_name = "CreationDateTime"];*/ 1: message.creationDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.creationDateTime); break; case /* string OrderID = 2 [json_name = "OrderID"];*/ 2: message.orderID = reader.string(); break; case /* repeated api.MetadataElement MetaData = 3 [json_name = "MetaData"];*/ 3: message.metaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options)); break; case /* api.TradeTier ShipFrom = 4 [json_name = "ShipFrom"];*/ 4: message.shipFrom = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.shipFrom); break; case /* api.TradeTier ShipTo = 5 [json_name = "ShipTo"];*/ 5: message.shipTo = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.shipTo); break; case /* api.TradeTier Carrier = 6 [json_name = "Carrier"];*/ 6: message.carrier = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.carrier); break; case /* string CarrierService = 7 [json_name = "CarrierService"];*/ 7: message.carrierService = reader.string(); break; case /* api.OrderRequestedMilestones RequestedMilestones = 8 [json_name = "RequestedMilestones"];*/ 8: message.requestedMilestones = OrderRequestedMilestones.internalBinaryRead(reader, reader.uint32(), options, message.requestedMilestones); break; case /* repeated api.ExeFlowLine Lines = 9 [json_name = "Lines"];*/ 9: message.lines.push(ExeFlowLine.internalBinaryRead(reader, reader.uint32(), options)); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowCreatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.DateTime CreationDateTime = 1 [json_name = "CreationDateTime"]; */ if (message.creationDateTime) DateTime.internalBinaryWrite(message.creationDateTime, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* string OrderID = 2 [json_name = "OrderID"]; */ if (message.orderID !== "") writer.tag(2, WireType.LengthDelimited).string(message.orderID); /* repeated api.MetadataElement MetaData = 3 [json_name = "MetaData"]; */ for (let i = 0; i < message.metaData.length; i++) MetadataElement.internalBinaryWrite(message.metaData[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join(); /* api.TradeTier ShipFrom = 4 [json_name = "ShipFrom"]; */ if (message.shipFrom) TradeTier.internalBinaryWrite(message.shipFrom, writer.tag(4, WireType.LengthDelimited).fork(), options).join(); /* api.TradeTier ShipTo = 5 [json_name = "ShipTo"]; */ if (message.shipTo) TradeTier.internalBinaryWrite(message.shipTo, writer.tag(5, WireType.LengthDelimited).fork(), options).join(); /* api.TradeTier Carrier = 6 [json_name = "Carrier"]; */ if (message.carrier) TradeTier.internalBinaryWrite(message.carrier, writer.tag(6, WireType.LengthDelimited).fork(), options).join(); /* string CarrierService = 7 [json_name = "CarrierService"]; */ if (message.carrierService !== "") writer.tag(7, WireType.LengthDelimited).string(message.carrierService); /* api.OrderRequestedMilestones RequestedMilestones = 8 [json_name = "RequestedMilestones"]; */ if (message.requestedMilestones) OrderRequestedMilestones.internalBinaryWrite(message.requestedMilestones, writer.tag(8, WireType.LengthDelimited).fork(), options).join(); /* repeated api.ExeFlowLine Lines = 9 [json_name = "Lines"]; */ for (let i = 0; i < message.lines.length; i++) ExeFlowLine.internalBinaryWrite(message.lines[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowCreatedPayload */ export const ExecutionflowCreatedPayload = new ExecutionflowCreatedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCreatedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowCreatedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowCreatedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Playload"] } }, "api.messageType": "Request", "api.inputEvent": "Created" }); } create(value?: PartialMessage): ExecutionflowCreatedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCreatedRequest): ExecutionflowCreatedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowCreatedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowCreatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowCreatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowCreatedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowCreatedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowCreatedRequest */ export const ExecutionflowCreatedRequest = new ExecutionflowCreatedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCreatedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowCreatedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "Created" }); } create(value?: PartialMessage): ExecutionflowCreatedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCreatedResponse): ExecutionflowCreatedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowCreatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowCreatedResponse */ export const ExecutionflowCreatedResponse = new ExecutionflowCreatedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowDetectedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowDetectedPayload", [ { no: 1, name: "CreationDateTime", kind: "message", jsonName: "CreationDateTime", T: () => DateTime }, { no: 2, name: "OrderID", kind: "scalar", jsonName: "OrderID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the order referenced by this execution flow." } } }, { no: 3, name: "MetaData", kind: "message", jsonName: "MetaData", repeat: 1 /*RepeatType.PACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } }, { no: 4, name: "ShipFrom", kind: "message", jsonName: "ShipFrom", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the order from" } } }, { no: 5, name: "ShipTo", kind: "message", jsonName: "ShipTo", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the order to" } } }, { no: 6, name: "Carrier", kind: "message", jsonName: "Carrier", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of the order carrier" } } }, { no: 7, name: "CarrierService", kind: "scalar", jsonName: "CarrierService", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of carrier service" } } }, { no: 8, name: "RequestedMilestones", kind: "message", jsonName: "RequestedMilestones", T: () => OrderRequestedMilestones }, { no: 9, name: "Lines", kind: "message", jsonName: "Lines", repeat: 1 /*RepeatType.PACKED*/, T: () => ExeFlowLine, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of trade. Executionflow lines. Defines the requested goods and the prepared goods" }, "api.aggKey": "LineID" } }, { no: 14, name: "ShipFromAcked", kind: "scalar", jsonName: "ShipFromAcked", T: 8 /*ScalarType.BOOL*/ }, { no: 15, name: "ShipToAcked", kind: "scalar", jsonName: "ShipToAcked", T: 8 /*ScalarType.BOOL*/ } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Detected", "api.postAggMethods": "computeRequestedContent,computeHUContents,generateOrderID", "api.preAggMethods": "verifyActorPartner,verifyOrderID" }); } create(value?: PartialMessage): ExecutionflowDetectedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.orderID = ""; message.metaData = []; message.carrierService = ""; message.lines = []; message.shipFromAcked = false; message.shipToAcked = false; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowDetectedPayload): ExecutionflowDetectedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.DateTime CreationDateTime = 1 [json_name = "CreationDateTime"];*/ 1: message.creationDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.creationDateTime); break; case /* string OrderID = 2 [json_name = "OrderID"];*/ 2: message.orderID = reader.string(); break; case /* repeated api.MetadataElement MetaData = 3 [json_name = "MetaData"];*/ 3: message.metaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options)); break; case /* api.TradeTier ShipFrom = 4 [json_name = "ShipFrom"];*/ 4: message.shipFrom = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.shipFrom); break; case /* api.TradeTier ShipTo = 5 [json_name = "ShipTo"];*/ 5: message.shipTo = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.shipTo); break; case /* api.TradeTier Carrier = 6 [json_name = "Carrier"];*/ 6: message.carrier = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.carrier); break; case /* string CarrierService = 7 [json_name = "CarrierService"];*/ 7: message.carrierService = reader.string(); break; case /* api.OrderRequestedMilestones RequestedMilestones = 8 [json_name = "RequestedMilestones"];*/ 8: message.requestedMilestones = OrderRequestedMilestones.internalBinaryRead(reader, reader.uint32(), options, message.requestedMilestones); break; case /* repeated api.ExeFlowLine Lines = 9 [json_name = "Lines"];*/ 9: message.lines.push(ExeFlowLine.internalBinaryRead(reader, reader.uint32(), options)); break; case /* bool ShipFromAcked = 14 [json_name = "ShipFromAcked"];*/ 14: message.shipFromAcked = reader.bool(); break; case /* bool ShipToAcked = 15 [json_name = "ShipToAcked"];*/ 15: message.shipToAcked = reader.bool(); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowDetectedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.DateTime CreationDateTime = 1 [json_name = "CreationDateTime"]; */ if (message.creationDateTime) DateTime.internalBinaryWrite(message.creationDateTime, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* string OrderID = 2 [json_name = "OrderID"]; */ if (message.orderID !== "") writer.tag(2, WireType.LengthDelimited).string(message.orderID); /* repeated api.MetadataElement MetaData = 3 [json_name = "MetaData"]; */ for (let i = 0; i < message.metaData.length; i++) MetadataElement.internalBinaryWrite(message.metaData[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join(); /* api.TradeTier ShipFrom = 4 [json_name = "ShipFrom"]; */ if (message.shipFrom) TradeTier.internalBinaryWrite(message.shipFrom, writer.tag(4, WireType.LengthDelimited).fork(), options).join(); /* api.TradeTier ShipTo = 5 [json_name = "ShipTo"]; */ if (message.shipTo) TradeTier.internalBinaryWrite(message.shipTo, writer.tag(5, WireType.LengthDelimited).fork(), options).join(); /* api.TradeTier Carrier = 6 [json_name = "Carrier"]; */ if (message.carrier) TradeTier.internalBinaryWrite(message.carrier, writer.tag(6, WireType.LengthDelimited).fork(), options).join(); /* string CarrierService = 7 [json_name = "CarrierService"]; */ if (message.carrierService !== "") writer.tag(7, WireType.LengthDelimited).string(message.carrierService); /* api.OrderRequestedMilestones RequestedMilestones = 8 [json_name = "RequestedMilestones"]; */ if (message.requestedMilestones) OrderRequestedMilestones.internalBinaryWrite(message.requestedMilestones, writer.tag(8, WireType.LengthDelimited).fork(), options).join(); /* repeated api.ExeFlowLine Lines = 9 [json_name = "Lines"]; */ for (let i = 0; i < message.lines.length; i++) ExeFlowLine.internalBinaryWrite(message.lines[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join(); /* bool ShipFromAcked = 14 [json_name = "ShipFromAcked"]; */ if (message.shipFromAcked !== false) writer.tag(14, WireType.Varint).bool(message.shipFromAcked); /* bool ShipToAcked = 15 [json_name = "ShipToAcked"]; */ if (message.shipToAcked !== false) writer.tag(15, WireType.Varint).bool(message.shipToAcked); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowDetectedPayload */ export const ExecutionflowDetectedPayload = new ExecutionflowDetectedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowDetectedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowDetectedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowDetectedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Detected" }); } create(value?: PartialMessage): ExecutionflowDetectedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowDetectedRequest): ExecutionflowDetectedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowDetectedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowDetectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowDetectedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowDetectedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowDetectedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowDetectedRequest */ export const ExecutionflowDetectedRequest = new ExecutionflowDetectedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowDetectedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowDetectedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "Detected" }); } create(value?: PartialMessage): ExecutionflowDetectedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowDetectedResponse): ExecutionflowDetectedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowDetectedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowDetectedResponse */ export const ExecutionflowDetectedResponse = new ExecutionflowDetectedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowRedetectedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowRedetectedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Redetected" }); } create(value?: PartialMessage): ExecutionflowRedetectedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowRedetectedPayload): ExecutionflowRedetectedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowRedetectedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowRedetectedPayload */ export const ExecutionflowRedetectedPayload = new ExecutionflowRedetectedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowRedetectedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowRedetectedEvent", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowRedetectedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "Redetected" }); } create(value?: PartialMessage): ExecutionflowRedetectedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowRedetectedEvent): ExecutionflowRedetectedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header = 1 [json_name = "Header"];*/ 1: message.header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowRedetectedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowRedetectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowRedetectedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1 [json_name = "Header"]; */ if (message.header) EventHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowRedetectedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowRedetectedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowRedetectedEvent */ export const ExecutionflowRedetectedEvent = new ExecutionflowRedetectedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowRedetectedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowRedetectedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowRedetectedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Redetected" }); } create(value?: PartialMessage): ExecutionflowRedetectedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowRedetectedRequest): ExecutionflowRedetectedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowRedetectedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowRedetectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowRedetectedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowRedetectedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowRedetectedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowRedetectedRequest */ export const ExecutionflowRedetectedRequest = new ExecutionflowRedetectedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowRedetectedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowRedetectedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "Redetected" }); } create(value?: PartialMessage): ExecutionflowRedetectedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowRedetectedResponse): ExecutionflowRedetectedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowRedetectedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowRedetectedResponse */ export const ExecutionflowRedetectedResponse = new ExecutionflowRedetectedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowShipFromAckedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowShipFromAckedPayload", [ { no: 1, name: "ShipFromAcked", kind: "scalar", jsonName: "ShipFromAcked", T: 8 /*ScalarType.BOOL*/ } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ShipFromAcked" }); } create(value?: PartialMessage): ExecutionflowShipFromAckedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.shipFromAcked = false; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowShipFromAckedPayload): ExecutionflowShipFromAckedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* bool ShipFromAcked = 1 [json_name = "ShipFromAcked"];*/ 1: message.shipFromAcked = reader.bool(); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowShipFromAckedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* bool ShipFromAcked = 1 [json_name = "ShipFromAcked"]; */ if (message.shipFromAcked !== false) writer.tag(1, WireType.Varint).bool(message.shipFromAcked); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowShipFromAckedPayload */ export const ExecutionflowShipFromAckedPayload = new ExecutionflowShipFromAckedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowShipFromAckedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowShipFromAckedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowShipFromAckedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "ShipFromAcked" }); } create(value?: PartialMessage): ExecutionflowShipFromAckedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowShipFromAckedRequest): ExecutionflowShipFromAckedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowShipFromAckedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowShipFromAckedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowShipFromAckedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowShipFromAckedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowShipFromAckedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowShipFromAckedRequest */ export const ExecutionflowShipFromAckedRequest = new ExecutionflowShipFromAckedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowShipFromAckedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowShipFromAckedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "ShipFromAcked" }); } create(value?: PartialMessage): ExecutionflowShipFromAckedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowShipFromAckedResponse): ExecutionflowShipFromAckedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowShipFromAckedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowShipFromAckedResponse */ export const ExecutionflowShipFromAckedResponse = new ExecutionflowShipFromAckedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowShipToAckedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowShipToAckedPayload", [ { no: 1, name: "ShipToAcked", kind: "scalar", jsonName: "ShipToAcked", T: 8 /*ScalarType.BOOL*/ } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ShipToAcked" }); } create(value?: PartialMessage): ExecutionflowShipToAckedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.shipToAcked = false; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowShipToAckedPayload): ExecutionflowShipToAckedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* bool ShipToAcked = 1 [json_name = "ShipToAcked"];*/ 1: message.shipToAcked = reader.bool(); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowShipToAckedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* bool ShipToAcked = 1 [json_name = "ShipToAcked"]; */ if (message.shipToAcked !== false) writer.tag(1, WireType.Varint).bool(message.shipToAcked); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowShipToAckedPayload */ export const ExecutionflowShipToAckedPayload = new ExecutionflowShipToAckedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowShipToAckedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowShipToAckedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowShipToAckedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "ShipToAcked" }); } create(value?: PartialMessage): ExecutionflowShipToAckedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowShipToAckedRequest): ExecutionflowShipToAckedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowShipToAckedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowShipToAckedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowShipToAckedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowShipToAckedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowShipToAckedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowShipToAckedRequest */ export const ExecutionflowShipToAckedRequest = new ExecutionflowShipToAckedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowShipToAckedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowShipToAckedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "ShipToAcked" }); } create(value?: PartialMessage): ExecutionflowShipToAckedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowShipToAckedResponse): ExecutionflowShipToAckedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowShipToAckedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowShipToAckedResponse */ export const ExecutionflowShipToAckedResponse = new ExecutionflowShipToAckedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCancelledPayload$Type extends MessageType { constructor() { super("api.ExecutionflowCancelledPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Cancelled" }); } create(value?: PartialMessage): ExecutionflowCancelledPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCancelledPayload): ExecutionflowCancelledPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowCancelledPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowCancelledPayload */ export const ExecutionflowCancelledPayload = new ExecutionflowCancelledPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCancelledEvent$Type extends MessageType { constructor() { super("api.ExecutionflowCancelledEvent", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowCancelledPayload, options: { "validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "Cancelled" }); } create(value?: PartialMessage): ExecutionflowCancelledEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCancelledEvent): ExecutionflowCancelledEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header = 1 [json_name = "Header"];*/ 1: message.header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowCancelledPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowCancelledPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowCancelledEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1 [json_name = "Header"]; */ if (message.header) EventHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowCancelledPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowCancelledPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowCancelledEvent */ export const ExecutionflowCancelledEvent = new ExecutionflowCancelledEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCancelledRequest$Type extends MessageType { constructor() { super("api.ExecutionflowCancelledRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowCancelledPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Cancelled" }); } create(value?: PartialMessage): ExecutionflowCancelledRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCancelledRequest): ExecutionflowCancelledRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowCancelledPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowCancelledPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowCancelledRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowCancelledPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowCancelledPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowCancelledRequest */ export const ExecutionflowCancelledRequest = new ExecutionflowCancelledRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCancelledResponse$Type extends MessageType { constructor() { super("api.ExecutionflowCancelledResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "Cancelled" }); } create(value?: PartialMessage): ExecutionflowCancelledResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCancelledResponse): ExecutionflowCancelledResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowCancelledResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowCancelledResponse */ export const ExecutionflowCancelledResponse = new ExecutionflowCancelledResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAnonymisedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowAnonymisedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Anonymised", "api.postAggMethods": "anonymise" }); } create(value?: PartialMessage): ExecutionflowAnonymisedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAnonymisedPayload): ExecutionflowAnonymisedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowAnonymisedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowAnonymisedPayload */ export const ExecutionflowAnonymisedPayload = new ExecutionflowAnonymisedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAnonymisedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowAnonymisedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowAnonymisedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Anonymised" }); } create(value?: PartialMessage): ExecutionflowAnonymisedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAnonymisedRequest): ExecutionflowAnonymisedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowAnonymisedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowAnonymisedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowAnonymisedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowAnonymisedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowAnonymisedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowAnonymisedRequest */ export const ExecutionflowAnonymisedRequest = new ExecutionflowAnonymisedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAnonymisedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowAnonymisedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "Anonymised" }); } create(value?: PartialMessage): ExecutionflowAnonymisedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAnonymisedResponse): ExecutionflowAnonymisedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowAnonymisedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowAnonymisedResponse */ export const ExecutionflowAnonymisedResponse = new ExecutionflowAnonymisedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCompletedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowCompletedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Completed" }); } create(value?: PartialMessage): ExecutionflowCompletedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCompletedPayload): ExecutionflowCompletedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowCompletedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowCompletedPayload */ export const ExecutionflowCompletedPayload = new ExecutionflowCompletedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCompletedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowCompletedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowCompletedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Completed" }); } create(value?: PartialMessage): ExecutionflowCompletedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCompletedRequest): ExecutionflowCompletedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowCompletedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowCompletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowCompletedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowCompletedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowCompletedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowCompletedRequest */ export const ExecutionflowCompletedRequest = new ExecutionflowCompletedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCompletedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowCompletedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "Completed" }); } create(value?: PartialMessage): ExecutionflowCompletedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCompletedResponse): ExecutionflowCompletedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowCompletedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowCompletedResponse */ export const ExecutionflowCompletedResponse = new ExecutionflowCompletedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUContentUpdatedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowHUContentUpdatedPayload", [ { no: 1, name: "Handlingunits", kind: "message", jsonName: "Handlingunits", repeat: 1 /*RepeatType.PACKED*/, T: () => HandlingunitSummary, options: { "validate.rules": { repeated: { minItems: "1" } }, "api.aggKey": "HandlingunitID" } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "HUContentUpdated", "api.postAggMethods": "computeHUContents,computeETAs", "api.preAggMethods": "aggHUStatus" }); } create(value?: PartialMessage): ExecutionflowHUContentUpdatedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.handlingunits = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUContentUpdatedPayload): ExecutionflowHUContentUpdatedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* repeated api.HandlingunitSummary Handlingunits = 1 [json_name = "Handlingunits"];*/ 1: message.handlingunits.push(HandlingunitSummary.internalBinaryRead(reader, reader.uint32(), options)); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowHUContentUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* repeated api.HandlingunitSummary Handlingunits = 1 [json_name = "Handlingunits"]; */ for (let i = 0; i < message.handlingunits.length; i++) HandlingunitSummary.internalBinaryWrite(message.handlingunits[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowHUContentUpdatedPayload */ export const ExecutionflowHUContentUpdatedPayload = new ExecutionflowHUContentUpdatedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUContentUpdatedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowHUContentUpdatedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowHUContentUpdatedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "HUContentUpdated" }); } create(value?: PartialMessage): ExecutionflowHUContentUpdatedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUContentUpdatedRequest): ExecutionflowHUContentUpdatedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowHUContentUpdatedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowHUContentUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowHUContentUpdatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowHUContentUpdatedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowHUContentUpdatedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowHUContentUpdatedRequest */ export const ExecutionflowHUContentUpdatedRequest = new ExecutionflowHUContentUpdatedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUContentUpdatedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowHUContentUpdatedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "HUContentUpdated" }); } create(value?: PartialMessage): ExecutionflowHUContentUpdatedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUContentUpdatedResponse): ExecutionflowHUContentUpdatedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowHUContentUpdatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowHUContentUpdatedResponse */ export const ExecutionflowHUContentUpdatedResponse = new ExecutionflowHUContentUpdatedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUTrackingUpdatedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowHUTrackingUpdatedPayload", [ { no: 1, name: "Handlingunits", kind: "message", jsonName: "Handlingunits", repeat: 1 /*RepeatType.PACKED*/, T: () => HandlingunitSummary, options: { "validate.rules": { repeated: { minItems: "1" } }, "api.aggKey": "HandlingunitID" } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "HUTrackingUpdated", "api.postAggMethods": "computeHUContents,computeETAs", "api.preAggMethods": "aggHUStatus" }); } create(value?: PartialMessage): ExecutionflowHUTrackingUpdatedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.handlingunits = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUTrackingUpdatedPayload): ExecutionflowHUTrackingUpdatedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* repeated api.HandlingunitSummary Handlingunits = 1 [json_name = "Handlingunits"];*/ 1: message.handlingunits.push(HandlingunitSummary.internalBinaryRead(reader, reader.uint32(), options)); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowHUTrackingUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* repeated api.HandlingunitSummary Handlingunits = 1 [json_name = "Handlingunits"]; */ for (let i = 0; i < message.handlingunits.length; i++) HandlingunitSummary.internalBinaryWrite(message.handlingunits[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowHUTrackingUpdatedPayload */ export const ExecutionflowHUTrackingUpdatedPayload = new ExecutionflowHUTrackingUpdatedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUTrackingUpdatedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowHUTrackingUpdatedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowHUTrackingUpdatedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "HUTrackingUpdated" }); } create(value?: PartialMessage): ExecutionflowHUTrackingUpdatedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUTrackingUpdatedRequest): ExecutionflowHUTrackingUpdatedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowHUTrackingUpdatedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowHUTrackingUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowHUTrackingUpdatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowHUTrackingUpdatedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowHUTrackingUpdatedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowHUTrackingUpdatedRequest */ export const ExecutionflowHUTrackingUpdatedRequest = new ExecutionflowHUTrackingUpdatedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUTrackingUpdatedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowHUTrackingUpdatedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "HUTrackingUpdated" }); } create(value?: PartialMessage): ExecutionflowHUTrackingUpdatedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUTrackingUpdatedResponse): ExecutionflowHUTrackingUpdatedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowHUTrackingUpdatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowHUTrackingUpdatedResponse */ export const ExecutionflowHUTrackingUpdatedResponse = new ExecutionflowHUTrackingUpdatedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUETAUpdatedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowHUETAUpdatedPayload", [ { no: 1, name: "HandlingunitETAs", kind: "message", jsonName: "HandlingunitETAs", repeat: 1 /*RepeatType.PACKED*/, T: () => ETAbyHU, options: { "validate.rules": { repeated: { minItems: "1" } }, "api.aggKey": "HandlingunitID" } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "HUETAUpdated", "api.postAggMethods": "computeETAs", "api.preAggMethods": "setHUETAActualDate" }); } create(value?: PartialMessage): ExecutionflowHUETAUpdatedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.handlingunitETAs = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUETAUpdatedPayload): ExecutionflowHUETAUpdatedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* repeated api.ETAbyHU HandlingunitETAs = 1 [json_name = "HandlingunitETAs"];*/ 1: message.handlingunitETAs.push(ETAbyHU.internalBinaryRead(reader, reader.uint32(), options)); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowHUETAUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* repeated api.ETAbyHU HandlingunitETAs = 1 [json_name = "HandlingunitETAs"]; */ for (let i = 0; i < message.handlingunitETAs.length; i++) ETAbyHU.internalBinaryWrite(message.handlingunitETAs[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowHUETAUpdatedPayload */ export const ExecutionflowHUETAUpdatedPayload = new ExecutionflowHUETAUpdatedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUETAUpdatedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowHUETAUpdatedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowHUETAUpdatedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "HUETAUpdated" }); } create(value?: PartialMessage): ExecutionflowHUETAUpdatedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUETAUpdatedRequest): ExecutionflowHUETAUpdatedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowHUETAUpdatedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowHUETAUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowHUETAUpdatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowHUETAUpdatedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowHUETAUpdatedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowHUETAUpdatedRequest */ export const ExecutionflowHUETAUpdatedRequest = new ExecutionflowHUETAUpdatedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUETAUpdatedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowHUETAUpdatedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "HUETAUpdated" }); } create(value?: PartialMessage): ExecutionflowHUETAUpdatedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUETAUpdatedResponse): ExecutionflowHUETAUpdatedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowHUETAUpdatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowHUETAUpdatedResponse */ export const ExecutionflowHUETAUpdatedResponse = new ExecutionflowHUETAUpdatedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowETAUpdatedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowETAUpdatedPayload", [ { no: 1, name: "ExecutionflowETA", kind: "message", jsonName: "ExecutionflowETA", T: () => ETA, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The ETA for the executionflow as given by WMS. this ETA will be aggregated with those coming from HUs" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ExecutionflowETA"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ETAUpdated", "api.postAggMethods": "computeETAs", "api.preAggMethods": "setETAActualDate" }); } create(value?: PartialMessage): ExecutionflowETAUpdatedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowETAUpdatedPayload): ExecutionflowETAUpdatedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ETA ExecutionflowETA = 1 [json_name = "ExecutionflowETA"];*/ 1: message.executionflowETA = ETA.internalBinaryRead(reader, reader.uint32(), options, message.executionflowETA); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowETAUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ETA ExecutionflowETA = 1 [json_name = "ExecutionflowETA"]; */ if (message.executionflowETA) ETA.internalBinaryWrite(message.executionflowETA, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowETAUpdatedPayload */ export const ExecutionflowETAUpdatedPayload = new ExecutionflowETAUpdatedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowETAUpdatedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowETAUpdatedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowETAUpdatedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "ETAUpdated" }); } create(value?: PartialMessage): ExecutionflowETAUpdatedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowETAUpdatedRequest): ExecutionflowETAUpdatedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowETAUpdatedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowETAUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowETAUpdatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowETAUpdatedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowETAUpdatedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowETAUpdatedRequest */ export const ExecutionflowETAUpdatedRequest = new ExecutionflowETAUpdatedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowETAUpdatedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowETAUpdatedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "ETAUpdated" }); } create(value?: PartialMessage): ExecutionflowETAUpdatedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowETAUpdatedResponse): ExecutionflowETAUpdatedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowETAUpdatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowETAUpdatedResponse */ export const ExecutionflowETAUpdatedResponse = new ExecutionflowETAUpdatedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAllocationErrorPayload$Type extends MessageType { constructor() { super("api.ExecutionflowAllocationErrorPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AllocationError" }); } create(value?: PartialMessage): ExecutionflowAllocationErrorPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAllocationErrorPayload): ExecutionflowAllocationErrorPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowAllocationErrorPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowAllocationErrorPayload */ export const ExecutionflowAllocationErrorPayload = new ExecutionflowAllocationErrorPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAllocationErrorRequest$Type extends MessageType { constructor() { super("api.ExecutionflowAllocationErrorRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowAllocationErrorPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "AllocationError" }); } create(value?: PartialMessage): ExecutionflowAllocationErrorRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAllocationErrorRequest): ExecutionflowAllocationErrorRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowAllocationErrorPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowAllocationErrorPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowAllocationErrorRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowAllocationErrorPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowAllocationErrorPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowAllocationErrorRequest */ export const ExecutionflowAllocationErrorRequest = new ExecutionflowAllocationErrorRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAllocationErrorResponse$Type extends MessageType { constructor() { super("api.ExecutionflowAllocationErrorResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "AllocationError" }); } create(value?: PartialMessage): ExecutionflowAllocationErrorResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAllocationErrorResponse): ExecutionflowAllocationErrorResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowAllocationErrorResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowAllocationErrorResponse */ export const ExecutionflowAllocationErrorResponse = new ExecutionflowAllocationErrorResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationExpectedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationExpectedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "PreparationExpected" }); } create(value?: PartialMessage): ExecutionflowPreparationExpectedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationExpectedPayload): ExecutionflowPreparationExpectedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowPreparationExpectedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowPreparationExpectedPayload */ export const ExecutionflowPreparationExpectedPayload = new ExecutionflowPreparationExpectedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationExpectedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationExpectedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowPreparationExpectedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "PreparationExpected" }); } create(value?: PartialMessage): ExecutionflowPreparationExpectedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationExpectedRequest): ExecutionflowPreparationExpectedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowPreparationExpectedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowPreparationExpectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowPreparationExpectedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowPreparationExpectedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowPreparationExpectedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowPreparationExpectedRequest */ export const ExecutionflowPreparationExpectedRequest = new ExecutionflowPreparationExpectedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationExpectedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationExpectedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "PreparationExpected" }); } create(value?: PartialMessage): ExecutionflowPreparationExpectedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationExpectedResponse): ExecutionflowPreparationExpectedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowPreparationExpectedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowPreparationExpectedResponse */ export const ExecutionflowPreparationExpectedResponse = new ExecutionflowPreparationExpectedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationStartedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationStartedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "PreparationStarted" }); } create(value?: PartialMessage): ExecutionflowPreparationStartedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationStartedPayload): ExecutionflowPreparationStartedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowPreparationStartedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowPreparationStartedPayload */ export const ExecutionflowPreparationStartedPayload = new ExecutionflowPreparationStartedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationStartedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationStartedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowPreparationStartedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "PreparationStarted" }); } create(value?: PartialMessage): ExecutionflowPreparationStartedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationStartedRequest): ExecutionflowPreparationStartedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowPreparationStartedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowPreparationStartedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowPreparationStartedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowPreparationStartedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowPreparationStartedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowPreparationStartedRequest */ export const ExecutionflowPreparationStartedRequest = new ExecutionflowPreparationStartedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationStartedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationStartedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "PreparationStarted" }); } create(value?: PartialMessage): ExecutionflowPreparationStartedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationStartedResponse): ExecutionflowPreparationStartedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowPreparationStartedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowPreparationStartedResponse */ export const ExecutionflowPreparationStartedResponse = new ExecutionflowPreparationStartedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationCompletedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationCompletedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "PreparationCompleted" }); } create(value?: PartialMessage): ExecutionflowPreparationCompletedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationCompletedPayload): ExecutionflowPreparationCompletedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowPreparationCompletedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowPreparationCompletedPayload */ export const ExecutionflowPreparationCompletedPayload = new ExecutionflowPreparationCompletedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationCompletedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationCompletedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowPreparationCompletedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "PreparationCompleted" }); } create(value?: PartialMessage): ExecutionflowPreparationCompletedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationCompletedRequest): ExecutionflowPreparationCompletedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowPreparationCompletedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowPreparationCompletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowPreparationCompletedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowPreparationCompletedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowPreparationCompletedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowPreparationCompletedRequest */ export const ExecutionflowPreparationCompletedRequest = new ExecutionflowPreparationCompletedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationCompletedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationCompletedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "PreparationCompleted" }); } create(value?: PartialMessage): ExecutionflowPreparationCompletedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationCompletedResponse): ExecutionflowPreparationCompletedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowPreparationCompletedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowPreparationCompletedResponse */ export const ExecutionflowPreparationCompletedResponse = new ExecutionflowPreparationCompletedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportExpectedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowTransportExpectedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "TransportExpected" }); } create(value?: PartialMessage): ExecutionflowTransportExpectedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportExpectedPayload): ExecutionflowTransportExpectedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowTransportExpectedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowTransportExpectedPayload */ export const ExecutionflowTransportExpectedPayload = new ExecutionflowTransportExpectedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportExpectedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowTransportExpectedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowTransportExpectedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "TransportExpected" }); } create(value?: PartialMessage): ExecutionflowTransportExpectedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportExpectedRequest): ExecutionflowTransportExpectedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowTransportExpectedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowTransportExpectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowTransportExpectedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowTransportExpectedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowTransportExpectedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowTransportExpectedRequest */ export const ExecutionflowTransportExpectedRequest = new ExecutionflowTransportExpectedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportExpectedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowTransportExpectedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "TransportExpected" }); } create(value?: PartialMessage): ExecutionflowTransportExpectedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportExpectedResponse): ExecutionflowTransportExpectedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowTransportExpectedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowTransportExpectedResponse */ export const ExecutionflowTransportExpectedResponse = new ExecutionflowTransportExpectedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportStartedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowTransportStartedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "TransportStarted" }); } create(value?: PartialMessage): ExecutionflowTransportStartedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportStartedPayload): ExecutionflowTransportStartedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowTransportStartedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowTransportStartedPayload */ export const ExecutionflowTransportStartedPayload = new ExecutionflowTransportStartedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportStartedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowTransportStartedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowTransportStartedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "TransportStarted" }); } create(value?: PartialMessage): ExecutionflowTransportStartedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportStartedRequest): ExecutionflowTransportStartedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowTransportStartedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowTransportStartedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowTransportStartedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowTransportStartedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowTransportStartedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowTransportStartedRequest */ export const ExecutionflowTransportStartedRequest = new ExecutionflowTransportStartedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportStartedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowTransportStartedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "TransportStarted" }); } create(value?: PartialMessage): ExecutionflowTransportStartedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportStartedResponse): ExecutionflowTransportStartedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowTransportStartedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowTransportStartedResponse */ export const ExecutionflowTransportStartedResponse = new ExecutionflowTransportStartedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportCompletedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowTransportCompletedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "TransportCompleted" }); } create(value?: PartialMessage): ExecutionflowTransportCompletedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportCompletedPayload): ExecutionflowTransportCompletedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowTransportCompletedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowTransportCompletedPayload */ export const ExecutionflowTransportCompletedPayload = new ExecutionflowTransportCompletedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportCompletedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowTransportCompletedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowTransportCompletedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "TransportCompleted" }); } create(value?: PartialMessage): ExecutionflowTransportCompletedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportCompletedRequest): ExecutionflowTransportCompletedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowTransportCompletedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowTransportCompletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowTransportCompletedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowTransportCompletedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowTransportCompletedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowTransportCompletedRequest */ export const ExecutionflowTransportCompletedRequest = new ExecutionflowTransportCompletedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportCompletedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowTransportCompletedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "TransportCompleted" }); } create(value?: PartialMessage): ExecutionflowTransportCompletedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportCompletedResponse): ExecutionflowTransportCompletedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowTransportCompletedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowTransportCompletedResponse */ export const ExecutionflowTransportCompletedResponse = new ExecutionflowTransportCompletedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptStartedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptStartedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ReceiptStarted" }); } create(value?: PartialMessage): ExecutionflowReceiptStartedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptStartedPayload): ExecutionflowReceiptStartedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowReceiptStartedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowReceiptStartedPayload */ export const ExecutionflowReceiptStartedPayload = new ExecutionflowReceiptStartedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptStartedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptStartedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowReceiptStartedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "ReceiptStarted" }); } create(value?: PartialMessage): ExecutionflowReceiptStartedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptStartedRequest): ExecutionflowReceiptStartedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowReceiptStartedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowReceiptStartedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowReceiptStartedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowReceiptStartedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowReceiptStartedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowReceiptStartedRequest */ export const ExecutionflowReceiptStartedRequest = new ExecutionflowReceiptStartedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptStartedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptStartedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "ReceiptStarted" }); } create(value?: PartialMessage): ExecutionflowReceiptStartedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptStartedResponse): ExecutionflowReceiptStartedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowReceiptStartedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowReceiptStartedResponse */ export const ExecutionflowReceiptStartedResponse = new ExecutionflowReceiptStartedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptExpectedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptExpectedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ReceiptExpected" }); } create(value?: PartialMessage): ExecutionflowReceiptExpectedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptExpectedPayload): ExecutionflowReceiptExpectedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowReceiptExpectedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowReceiptExpectedPayload */ export const ExecutionflowReceiptExpectedPayload = new ExecutionflowReceiptExpectedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptExpectedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptExpectedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowReceiptExpectedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "ReceiptExpected" }); } create(value?: PartialMessage): ExecutionflowReceiptExpectedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptExpectedRequest): ExecutionflowReceiptExpectedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowReceiptExpectedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowReceiptExpectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowReceiptExpectedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowReceiptExpectedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowReceiptExpectedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowReceiptExpectedRequest */ export const ExecutionflowReceiptExpectedRequest = new ExecutionflowReceiptExpectedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptExpectedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptExpectedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "ReceiptExpected" }); } create(value?: PartialMessage): ExecutionflowReceiptExpectedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptExpectedResponse): ExecutionflowReceiptExpectedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowReceiptExpectedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowReceiptExpectedResponse */ export const ExecutionflowReceiptExpectedResponse = new ExecutionflowReceiptExpectedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptCompletedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptCompletedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ReceiptCompleted" }); } create(value?: PartialMessage): ExecutionflowReceiptCompletedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptCompletedPayload): ExecutionflowReceiptCompletedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowReceiptCompletedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowReceiptCompletedPayload */ export const ExecutionflowReceiptCompletedPayload = new ExecutionflowReceiptCompletedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptCompletedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptCompletedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowReceiptCompletedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "ReceiptCompleted" }); } create(value?: PartialMessage): ExecutionflowReceiptCompletedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptCompletedRequest): ExecutionflowReceiptCompletedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowReceiptCompletedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowReceiptCompletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowReceiptCompletedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowReceiptCompletedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowReceiptCompletedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowReceiptCompletedRequest */ export const ExecutionflowReceiptCompletedRequest = new ExecutionflowReceiptCompletedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptCompletedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptCompletedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "ReceiptCompleted" }); } create(value?: PartialMessage): ExecutionflowReceiptCompletedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptCompletedResponse): ExecutionflowReceiptCompletedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowReceiptCompletedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowReceiptCompletedResponse */ export const ExecutionflowReceiptCompletedResponse = new ExecutionflowReceiptCompletedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowMetaDataUpdatedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowMetaDataUpdatedPayload", [ { no: 1, name: "MetaData", kind: "message", jsonName: "MetaData", repeat: 1 /*RepeatType.PACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "MetaDataUpdated" }); } create(value?: PartialMessage): ExecutionflowMetaDataUpdatedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.metaData = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowMetaDataUpdatedPayload): ExecutionflowMetaDataUpdatedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* repeated api.MetadataElement MetaData = 1 [json_name = "MetaData"];*/ 1: message.metaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options)); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowMetaDataUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* repeated api.MetadataElement MetaData = 1 [json_name = "MetaData"]; */ for (let i = 0; i < message.metaData.length; i++) MetadataElement.internalBinaryWrite(message.metaData[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowMetaDataUpdatedPayload */ export const ExecutionflowMetaDataUpdatedPayload = new ExecutionflowMetaDataUpdatedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowMetaDataUpdatedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowMetaDataUpdatedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowMetaDataUpdatedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "MetaDataUpdated" }); } create(value?: PartialMessage): ExecutionflowMetaDataUpdatedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowMetaDataUpdatedRequest): ExecutionflowMetaDataUpdatedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowMetaDataUpdatedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowMetaDataUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowMetaDataUpdatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowMetaDataUpdatedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowMetaDataUpdatedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowMetaDataUpdatedRequest */ export const ExecutionflowMetaDataUpdatedRequest = new ExecutionflowMetaDataUpdatedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowMetaDataUpdatedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowMetaDataUpdatedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "MetaDataUpdated" }); } create(value?: PartialMessage): ExecutionflowMetaDataUpdatedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowMetaDataUpdatedResponse): ExecutionflowMetaDataUpdatedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowMetaDataUpdatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowMetaDataUpdatedResponse */ export const ExecutionflowMetaDataUpdatedResponse = new ExecutionflowMetaDataUpdatedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCarrierUpdatedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowCarrierUpdatedPayload", [ { no: 1, name: "Carrier", kind: "message", jsonName: "Carrier", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of the order carrier" } } }, { no: 2, name: "CarrierService", kind: "scalar", jsonName: "CarrierService", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of carrier service" } } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CarrierUpdated", "api.preAggMethods": "verifyActorPartner" }); } create(value?: PartialMessage): ExecutionflowCarrierUpdatedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.carrierService = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCarrierUpdatedPayload): ExecutionflowCarrierUpdatedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.TradeTier Carrier = 1 [json_name = "Carrier"];*/ 1: message.carrier = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.carrier); break; case /* string CarrierService = 2 [json_name = "CarrierService"];*/ 2: message.carrierService = reader.string(); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowCarrierUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.TradeTier Carrier = 1 [json_name = "Carrier"]; */ if (message.carrier) TradeTier.internalBinaryWrite(message.carrier, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* string CarrierService = 2 [json_name = "CarrierService"]; */ if (message.carrierService !== "") writer.tag(2, WireType.LengthDelimited).string(message.carrierService); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowCarrierUpdatedPayload */ export const ExecutionflowCarrierUpdatedPayload = new ExecutionflowCarrierUpdatedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCarrierUpdatedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowCarrierUpdatedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowCarrierUpdatedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "CarrierUpdated" }); } create(value?: PartialMessage): ExecutionflowCarrierUpdatedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCarrierUpdatedRequest): ExecutionflowCarrierUpdatedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowCarrierUpdatedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowCarrierUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowCarrierUpdatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowCarrierUpdatedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowCarrierUpdatedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowCarrierUpdatedRequest */ export const ExecutionflowCarrierUpdatedRequest = new ExecutionflowCarrierUpdatedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCarrierUpdatedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowCarrierUpdatedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "CarrierUpdated" }); } create(value?: PartialMessage): ExecutionflowCarrierUpdatedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCarrierUpdatedResponse): ExecutionflowCarrierUpdatedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowCarrierUpdatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowCarrierUpdatedResponse */ export const ExecutionflowCarrierUpdatedResponse = new ExecutionflowCarrierUpdatedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAttachmentAddedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowAttachmentAddedPayload", [ { no: 1, name: "Attachments", kind: "message", jsonName: "Attachments", repeat: 1 /*RepeatType.PACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments added per type" } } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AttachmentAdded", "api.preAggMethods": "addAttachment" }); } create(value?: PartialMessage): ExecutionflowAttachmentAddedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.attachments = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAttachmentAddedPayload): ExecutionflowAttachmentAddedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* repeated api.AttachmentSummary Attachments = 1 [json_name = "Attachments"];*/ 1: message.attachments.push(AttachmentSummary.internalBinaryRead(reader, reader.uint32(), options)); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowAttachmentAddedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* repeated api.AttachmentSummary Attachments = 1 [json_name = "Attachments"]; */ for (let i = 0; i < message.attachments.length; i++) AttachmentSummary.internalBinaryWrite(message.attachments[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowAttachmentAddedPayload */ export const ExecutionflowAttachmentAddedPayload = new ExecutionflowAttachmentAddedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAttachmentAddedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowAttachmentAddedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowAttachmentAddedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "AttachmentAdded" }); } create(value?: PartialMessage): ExecutionflowAttachmentAddedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAttachmentAddedRequest): ExecutionflowAttachmentAddedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowAttachmentAddedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowAttachmentAddedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowAttachmentAddedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowAttachmentAddedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowAttachmentAddedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowAttachmentAddedRequest */ export const ExecutionflowAttachmentAddedRequest = new ExecutionflowAttachmentAddedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAttachmentAddedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowAttachmentAddedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "AttachmentAdded" }); } create(value?: PartialMessage): ExecutionflowAttachmentAddedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAttachmentAddedResponse): ExecutionflowAttachmentAddedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowAttachmentAddedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowAttachmentAddedResponse */ export const ExecutionflowAttachmentAddedResponse = new ExecutionflowAttachmentAddedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAttachmentRemovedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowAttachmentRemovedPayload", [ { no: 1, name: "Attachments", kind: "message", jsonName: "Attachments", repeat: 1 /*RepeatType.PACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments removed per type" } } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AttachmentRemoved" }); } create(value?: PartialMessage): ExecutionflowAttachmentRemovedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.attachments = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAttachmentRemovedPayload): ExecutionflowAttachmentRemovedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* repeated api.AttachmentSummary Attachments = 1 [json_name = "Attachments"];*/ 1: message.attachments.push(AttachmentSummary.internalBinaryRead(reader, reader.uint32(), options)); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowAttachmentRemovedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* repeated api.AttachmentSummary Attachments = 1 [json_name = "Attachments"]; */ for (let i = 0; i < message.attachments.length; i++) AttachmentSummary.internalBinaryWrite(message.attachments[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowAttachmentRemovedPayload */ export const ExecutionflowAttachmentRemovedPayload = new ExecutionflowAttachmentRemovedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAttachmentRemovedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowAttachmentRemovedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowAttachmentRemovedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "AttachmentRemoved" }); } create(value?: PartialMessage): ExecutionflowAttachmentRemovedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAttachmentRemovedRequest): ExecutionflowAttachmentRemovedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowAttachmentRemovedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowAttachmentRemovedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowAttachmentRemovedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowAttachmentRemovedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowAttachmentRemovedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowAttachmentRemovedRequest */ export const ExecutionflowAttachmentRemovedRequest = new ExecutionflowAttachmentRemovedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAttachmentRemovedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowAttachmentRemovedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "AttachmentRemoved" }); } create(value?: PartialMessage): ExecutionflowAttachmentRemovedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAttachmentRemovedResponse): ExecutionflowAttachmentRemovedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowAttachmentRemovedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowAttachmentRemovedResponse */ export const ExecutionflowAttachmentRemovedResponse = new ExecutionflowAttachmentRemovedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowClaimAddedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowClaimAddedPayload", [ { no: 1, name: "Claims", kind: "message", jsonName: "Claims", repeat: 1 /*RepeatType.PACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims added per type" }, "api.aggKey": "ClaimTypeID" } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ClaimAdded", "api.preAggMethods": "addClaim" }); } create(value?: PartialMessage): ExecutionflowClaimAddedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.claims = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowClaimAddedPayload): ExecutionflowClaimAddedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* repeated api.ClaimSummary Claims = 1 [json_name = "Claims"];*/ 1: message.claims.push(ClaimSummary.internalBinaryRead(reader, reader.uint32(), options)); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowClaimAddedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* repeated api.ClaimSummary Claims = 1 [json_name = "Claims"]; */ for (let i = 0; i < message.claims.length; i++) ClaimSummary.internalBinaryWrite(message.claims[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowClaimAddedPayload */ export const ExecutionflowClaimAddedPayload = new ExecutionflowClaimAddedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowClaimAddedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowClaimAddedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowClaimAddedPayload, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "ClaimAdded" }); } create(value?: PartialMessage): ExecutionflowClaimAddedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowClaimAddedRequest): ExecutionflowClaimAddedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowClaimAddedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowClaimAddedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowClaimAddedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowClaimAddedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowClaimAddedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowClaimAddedRequest */ export const ExecutionflowClaimAddedRequest = new ExecutionflowClaimAddedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowClaimAddedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowClaimAddedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "ClaimAdded" }); } create(value?: PartialMessage): ExecutionflowClaimAddedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowClaimAddedResponse): ExecutionflowClaimAddedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowClaimAddedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowClaimAddedResponse */ export const ExecutionflowClaimAddedResponse = new ExecutionflowClaimAddedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowDeletedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowDeletedPayload", [], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Deleted" }); } create(value?: PartialMessage): ExecutionflowDeletedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowDeletedPayload): ExecutionflowDeletedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowDeletedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowDeletedPayload */ export const ExecutionflowDeletedPayload = new ExecutionflowDeletedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowDeletedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowDeletedRequest", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => RequestProjectHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID }, { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowDeletedPayload } ], { "api.messageType": "Request", "api.inputEvent": "Deleted" }); } create(value?: PartialMessage): ExecutionflowDeletedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowDeletedRequest): ExecutionflowDeletedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: message.header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; case /* api.ExecutionflowDeletedPayload Payload = 3 [json_name = "Payload"];*/ 3: message.payload = ExecutionflowDeletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowDeletedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ if (message.header) RequestProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowDeletedPayload Payload = 3 [json_name = "Payload"]; */ if (message.payload) ExecutionflowDeletedPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowDeletedRequest */ export const ExecutionflowDeletedRequest = new ExecutionflowDeletedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowDeletedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowDeletedResponse", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "Deleted" }); } create(value?: PartialMessage): ExecutionflowDeletedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowDeletedResponse): ExecutionflowDeletedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1: message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header); break; case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2: message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD); break; default: let u = options.readUnknownField; if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); let d = reader.skip(wireType); if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); } } return message; } internalBinaryWrite(message: ExecutionflowDeletedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1 [json_name = "Header"]; */ if (message.header) ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2 [json_name = "ID"]; */ if (message.iD) EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowDeletedResponse */ export const ExecutionflowDeletedResponse = new ExecutionflowDeletedResponse$Type(); /** * @generated ServiceType for protobuf service api.ExecutionflowInputAPI */ export const ExecutionflowInputAPI = new ServiceType("api.ExecutionflowInputAPI", [ { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been created. This is typically called from an OMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowCreatedRequest, O: ExecutionflowCreatedResponse }, { name: "Detected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been detected. This is typically called from an WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowDetectedRequest, O: ExecutionflowDetectedResponse }, { name: "Redetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "The associated order was not created correctly. Call this api to fix the order creation. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowRedetectedRequest, O: ExecutionflowRedetectedResponse }, { name: "ShipFromAcked", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been acked by the shipFrom WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowShipFromAckedRequest, O: ExecutionflowShipFromAckedResponse }, { name: "ShipToAcked", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been acked by the shipTo WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowShipToAckedRequest, O: ExecutionflowShipToAckedResponse }, { name: "Cancelled", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been cancelled. This is typically called from an OMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowCancelledRequest, O: ExecutionflowCancelledResponse }, { name: "Anonymised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been anonymised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowAnonymisedRequest, O: ExecutionflowAnonymisedResponse }, { name: "Completed", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been completed. This is typically called from an OMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowCompletedRequest, O: ExecutionflowCompletedResponse }, { name: "HUContentUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Handling Unit status update is reported to an Execution Flow. This is used internally. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowHUContentUpdatedRequest, O: ExecutionflowHUContentUpdatedResponse }, { name: "HUTrackingUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Handling Unit status update is reported to an Execution Flow. This is used internally. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowHUTrackingUpdatedRequest, O: ExecutionflowHUTrackingUpdatedResponse }, { name: "HUETAUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An HandlingUnit ETA update is reported to an Execution Flow. This is used internally. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowHUETAUpdatedRequest, O: ExecutionflowHUETAUpdatedResponse }, { name: "ETAUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Executionflow ETA update is reported to an Execution Flow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowETAUpdatedRequest, O: ExecutionflowETAUpdatedResponse }, { name: "PreparationExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Preparation is expected on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowPreparationExpectedRequest, O: ExecutionflowPreparationExpectedResponse }, { name: "PreparationStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Preparation has started on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowPreparationStartedRequest, O: ExecutionflowPreparationStartedResponse }, { name: "PreparationCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Preparation is completed on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowPreparationCompletedRequest, O: ExecutionflowPreparationCompletedResponse }, { name: "TransportExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Transport is expected on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowTransportExpectedRequest, O: ExecutionflowTransportExpectedResponse }, { name: "TransportStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Transport has started on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowTransportStartedRequest, O: ExecutionflowTransportStartedResponse }, { name: "TransportCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Transport is completed on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowTransportCompletedRequest, O: ExecutionflowTransportCompletedResponse }, { name: "ReceiptExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Receipt is expected on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowReceiptExpectedRequest, O: ExecutionflowReceiptExpectedResponse }, { name: "ReceiptStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Receipt has started on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowReceiptStartedRequest, O: ExecutionflowReceiptStartedResponse }, { name: "ReceiptCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Receipt is completed on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowReceiptCompletedRequest, O: ExecutionflowReceiptCompletedResponse }, { name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Some metadata have been updated on an Execution Flow. This is typically called from OMS or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowMetaDataUpdatedRequest, O: ExecutionflowMetaDataUpdatedResponse }, { name: "CarrierUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "The carrier and/or carrier service has been updated for the Execution Flow. This is typically called from OMS or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowCarrierUpdatedRequest, O: ExecutionflowCarrierUpdatedResponse }, { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An attachment is added for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowAttachmentAddedRequest, O: ExecutionflowAttachmentAddedResponse }, { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An attachment is removed for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowAttachmentRemovedRequest, O: ExecutionflowAttachmentRemovedResponse }, { name: "AllocationError", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An allocation error occured on the Executionflow." }, "api.rscType": "Project", "api.platformReserved": true, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowAllocationErrorRequest, O: ExecutionflowAllocationErrorResponse }, { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "A claim is added for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowClaimAddedRequest, O: ExecutionflowClaimAddedResponse }, { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An executionflow has been deleted. This is called from Reflex Platform Admin service to share the Organisation executionflows." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowDeletedRequest, O: ExecutionflowDeletedResponse } ], { "api.serviceType": "Api", "api.k8sService": "api-server" });