Latest generation

This commit is contained in:
ci core model
2025-04-28 12:35:42 +00:00
parent 595d5e3e36
commit 09d656c554
197 changed files with 25094 additions and 25094 deletions

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.9.6
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
// @generated from protobuf file "executionflow.proto" (package "api", syntax proto3)
// tslint:disable
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
@@ -53,49 +53,49 @@ export interface ExecutionflowPayload {
/**
* @generated from protobuf field: api.DateTime CreationDateTime = 1 [json_name = "CreationDateTime"];
*/
creationDateTime?: DateTime;
CreationDateTime?: DateTime;
/**
* @generated from protobuf field: string OrderID = 2 [json_name = "OrderID"];
*/
orderID: string;
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[];
MetaData: MetadataElement[];
/**
* Where to ship the order from
*
* @generated from protobuf field: api.TradeTier ShipFrom = 4 [json_name = "ShipFrom"];
*/
shipFrom?: TradeTier;
ShipFrom?: TradeTier;
/**
* Where to ship the order to
*
* @generated from protobuf field: api.TradeTier ShipTo = 5 [json_name = "ShipTo"];
*/
shipTo?: TradeTier;
ShipTo?: TradeTier;
/**
* Definition of the order carrier
*
* @generated from protobuf field: api.TradeTier Carrier = 6 [json_name = "Carrier"];
*/
carrier?: TradeTier;
Carrier?: TradeTier;
/**
* Type of carrier service
*
* @generated from protobuf field: string CarrierService = 7 [json_name = "CarrierService"];
*/
carrierService: string;
CarrierService: string;
/**
* @generated from protobuf field: api.OrderRequestedMilestones RequestedMilestones = 8 [json_name = "RequestedMilestones"];
*/
requestedMilestones?: OrderRequestedMilestones;
RequestedMilestones?: OrderRequestedMilestones;
/**
* @generated from protobuf field: repeated api.ExeFlowLine Lines = 9 [json_name = "Lines"];
*/
lines: ExeFlowLine[];
Lines: ExeFlowLine[];
//
// Handlingunit executions.
// The goods content of the HU is coming from handlingunit entity.
@@ -103,47 +103,47 @@ export interface ExecutionflowPayload {
/**
* @generated from protobuf field: repeated api.HandlingunitSummary Handlingunits = 11 [json_name = "Handlingunits"];
*/
handlingunits: HandlingunitSummary[];
Handlingunits: HandlingunitSummary[];
/**
* @generated from protobuf field: api.ExecutionflowStatusStruct Status = 13 [json_name = "Status"];
*/
status?: ExecutionflowStatusStruct; // Status field is not accessible from APIs
Status?: ExecutionflowStatusStruct; // Status field is not accessible from APIs
/**
* @generated from protobuf field: bool ShipFromAcked = 14 [json_name = "ShipFromAcked"];
*/
shipFromAcked: boolean;
ShipFromAcked: boolean;
/**
* @generated from protobuf field: bool ShipToAcked = 15 [json_name = "ShipToAcked"];
*/
shipToAcked: boolean;
ShipToAcked: boolean;
/**
* @generated from protobuf field: repeated api.AttachmentSummary Attachments = 16 [json_name = "Attachments"];
*/
attachments: AttachmentSummary[];
Attachments: AttachmentSummary[];
/**
* @generated from protobuf field: int32 AttachmentNumber = 17 [json_name = "AttachmentNumber"];
*/
attachmentNumber: number;
AttachmentNumber: number;
/**
* @generated from protobuf field: repeated api.ClaimSummary Claims = 18 [json_name = "Claims"];
*/
claims: ClaimSummary[];
Claims: ClaimSummary[];
/**
* @generated from protobuf field: int32 ClaimNumber = 19 [json_name = "ClaimNumber"];
*/
claimNumber: number;
ClaimNumber: number;
/**
* @generated from protobuf field: repeated api.ETAbyHU HandlingunitETAs = 20 [json_name = "HandlingunitETAs"];
*/
handlingunitETAs: ETAbyHU[]; // //Estimated Time of Arrival for the HandlingUnit(s) created for theis executionflow
HandlingunitETAs: ETAbyHU[]; // //Estimated Time of Arrival for the HandlingUnit(s) created for theis executionflow
/**
* @generated from protobuf field: api.ETA ExecutionflowETA = 21 [json_name = "ExecutionflowETA"];
*/
executionflowETA?: ETA; // Estimated Time of Arrival for the Executionflow, computed with other ETAs received directly or from HUs
ExecutionflowETA?: ETA; // Estimated Time of Arrival for the Executionflow, computed with other ETAs received directly or from HUs
/**
* @generated from protobuf field: api.ETA ExecutionflowETAComputed = 22 [json_name = "ExecutionflowETAComputed"];
*/
executionflowETAComputed?: ETA;
ExecutionflowETAComputed?: ETA;
}
// Executionflow entity
@@ -154,15 +154,15 @@ export interface Executionflow {
/**
* @generated from protobuf field: api.EventHeader LastEventHeader = 1 [json_name = "LastEventHeader"];
*/
lastEventHeader?: EventHeader;
LastEventHeader?: EventHeader;
/**
* @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"];
*/
iD?: EntityID;
ID?: EntityID;
/**
* @generated from protobuf field: api.ExecutionflowPayload Payload = 3 [json_name = "Payload"];
*/
payload?: ExecutionflowPayload;
Payload?: ExecutionflowPayload;
}
// Executionflow Enrichment
@@ -173,59 +173,59 @@ export interface ExecutionflowEnrichment {
/**
* @generated from protobuf field: string ParentEventID = 1 [json_name = "ParentEventID"];
*/
parentEventID: string;
ParentEventID: string;
/**
* @generated from protobuf field: string EntityName = 2 [json_name = "EntityName"];
*/
entityName: string;
EntityName: string;
/**
* @generated from protobuf field: string EntityRefID = 3 [json_name = "EntityRefID"];
*/
entityRefID: string;
EntityRefID: string;
/**
* @generated from protobuf field: string RefFilter = 4 [json_name = "RefFilter"];
*/
refFilter: string;
RefFilter: string;
/**
* @generated from protobuf field: string MergePath = 5 [json_name = "MergePath"];
*/
mergePath: string;
MergePath: string;
/**
* @generated from protobuf oneof: Content
*/
content: {
oneofKind: "item";
Content: {
oneofKind: "Item";
/**
* @generated from protobuf field: api.ItemPayload Item = 10 [json_name = "Item"];
*/
item: ItemPayload;
Item: ItemPayload;
} | {
oneofKind: "actor";
oneofKind: "Actor";
/**
* @generated from protobuf field: api.ActorPayload Actor = 11 [json_name = "Actor"];
*/
actor: ActorPayload;
Actor: ActorPayload;
} | {
oneofKind: "partner";
oneofKind: "Partner";
/**
* @generated from protobuf field: api.PartnerPayload Partner = 12 [json_name = "Partner"];
*/
partner: PartnerPayload;
Partner: PartnerPayload;
} | {
oneofKind: undefined;
};
/**
* @generated from protobuf field: string Project = 6 [json_name = "Project"];
*/
project: string;
Project: string;
/**
* @generated from protobuf field: string ParentEntityName = 7 [json_name = "ParentEntityName"];
*/
parentEntityName: string;
ParentEntityName: string;
/**
* @generated from protobuf field: string ParentEntityID = 8 [json_name = "ParentEntityID"];
*/
parentEntityID: string;
ParentEntityID: string;
}
/**
* @generated from protobuf message api.ExecutionflowTriplet
@@ -234,56 +234,56 @@ export interface ExecutionflowTriplet {
/**
* @generated from protobuf field: api.Executionflow Current = 1 [json_name = "Current"];
*/
current?: Executionflow;
Current?: Executionflow;
/**
* @generated from protobuf field: api.Executionflow Previous = 2 [json_name = "Previous"];
*/
previous?: Executionflow;
Previous?: Executionflow;
/**
* @generated from protobuf field: api.Executionflow LastEvent = 3 [json_name = "LastEvent"];
*/
lastEvent?: Executionflow;
LastEvent?: Executionflow;
}
// @generated message type with reflection information, may provide speed optimized methods
class ExecutionflowPayload$Type extends MessageType<ExecutionflowPayload> {
constructor() {
super("api.ExecutionflowPayload", [
{ no: 1, name: "CreationDateTime", kind: "message", jsonName: "CreationDateTime", T: () => DateTime },
{ no: 2, name: "OrderID", kind: "scalar", jsonName: "OrderID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ 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", "api.transientRef": "Order,Payload.MetaData,hard", "api.parentEntity": "Order", "api.aggAppend": "MetaDataUpdated" } },
{ 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" }, "api.dataRestrictionKey": "Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] } } },
{ 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: { "api.aggKey": "LineID", "api.indexationSkip": true } },
{ no: 11, name: "Handlingunits", kind: "message", jsonName: "Handlingunits", repeat: 1 /*RepeatType.PACKED*/, T: () => HandlingunitSummary, options: { "api.aggKey": "HandlingunitID", "api.aggAppend": "HUContentUpdated,HUTrackingUpdated", "api.indexationSkip": true } },
{ no: 13, name: "Status", kind: "message", jsonName: "Status", T: () => ExecutionflowStatusStruct, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.indexationSkip": true } },
{ no: 14, name: "ShipFromAcked", kind: "scalar", jsonName: "ShipFromAcked", T: 8 /*ScalarType.BOOL*/ },
{ no: 15, name: "ShipToAcked", kind: "scalar", jsonName: "ShipToAcked", T: 8 /*ScalarType.BOOL*/ },
{ no: 16, 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 per type" }, "api.aggSkip": "AttachmentAdded,AttachmentRemoved", "api.indexationSkip": true } },
{ no: 17, name: "AttachmentNumber", kind: "scalar", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" } } },
{ no: 18, 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 per type" }, "api.aggKey": "ClaimTypeID", "api.aggSkip": "ClaimAdded" } },
{ no: 19, name: "ClaimNumber", kind: "scalar", jsonName: "ClaimNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of claims" } } },
{ no: 20, name: "HandlingunitETAs", kind: "message", jsonName: "HandlingunitETAs", repeat: 1 /*RepeatType.PACKED*/, T: () => ETAbyHU, options: { "api.aggKey": "HandlingunitID", "api.aggSkip": "HUETAUpdated", "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }] }, "api.indexationSkip": true } },
{ no: 21, name: "ExecutionflowETA", kind: "message", jsonName: "ExecutionflowETA", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Estimated Time of Arrival received directly for the Executionflow" }, "api.aggSkip": "ETAUpdated", "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }] }, "api.indexationSkip": true } },
{ no: 22, name: "ExecutionflowETAComputed", kind: "message", jsonName: "ExecutionflowETAComputed", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.indexationSkip": true } }
{ no: 1, name: "CreationDateTime", kind: "message", localName: "CreationDateTime", jsonName: "CreationDateTime", T: () => DateTime },
{ no: 2, name: "OrderID", kind: "scalar", localName: "OrderID", jsonName: "OrderID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 3, name: "MetaData", kind: "message", localName: "MetaData", 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.transientRef": "Order,Payload.MetaData,hard", "api.parentEntity": "Order", "api.aggAppend": "MetaDataUpdated" } },
{ no: 4, name: "ShipFrom", kind: "message", localName: "ShipFrom", 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", localName: "ShipTo", 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", localName: "Carrier", 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", localName: "CarrierService", jsonName: "CarrierService", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of carrier service" }, "api.dataRestrictionKey": "Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] } } },
{ no: 8, name: "RequestedMilestones", kind: "message", localName: "RequestedMilestones", jsonName: "RequestedMilestones", T: () => OrderRequestedMilestones },
{ no: 9, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 1 /*RepeatType.PACKED*/, T: () => ExeFlowLine, options: { "api.aggKey": "LineID", "api.indexationSkip": true } },
{ no: 11, name: "Handlingunits", kind: "message", localName: "Handlingunits", jsonName: "Handlingunits", repeat: 1 /*RepeatType.PACKED*/, T: () => HandlingunitSummary, options: { "api.aggKey": "HandlingunitID", "api.aggAppend": "HUContentUpdated,HUTrackingUpdated", "api.indexationSkip": true } },
{ no: 13, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => ExecutionflowStatusStruct, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.indexationSkip": true } },
{ no: 14, name: "ShipFromAcked", kind: "scalar", localName: "ShipFromAcked", jsonName: "ShipFromAcked", T: 8 /*ScalarType.BOOL*/ },
{ no: 15, name: "ShipToAcked", kind: "scalar", localName: "ShipToAcked", jsonName: "ShipToAcked", T: 8 /*ScalarType.BOOL*/ },
{ no: 16, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 1 /*RepeatType.PACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments per type" }, "api.aggSkip": "AttachmentAdded,AttachmentRemoved", "api.indexationSkip": true } },
{ no: 17, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" } } },
{ no: 18, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 1 /*RepeatType.PACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims per type" }, "api.aggKey": "ClaimTypeID", "api.aggSkip": "ClaimAdded" } },
{ no: 19, name: "ClaimNumber", kind: "scalar", localName: "ClaimNumber", jsonName: "ClaimNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of claims" } } },
{ no: 20, name: "HandlingunitETAs", kind: "message", localName: "HandlingunitETAs", jsonName: "HandlingunitETAs", repeat: 1 /*RepeatType.PACKED*/, T: () => ETAbyHU, options: { "api.aggKey": "HandlingunitID", "api.aggSkip": "HUETAUpdated", "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }] }, "api.indexationSkip": true } },
{ no: 21, name: "ExecutionflowETA", kind: "message", localName: "ExecutionflowETA", jsonName: "ExecutionflowETA", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Estimated Time of Arrival received directly for the Executionflow" }, "api.aggSkip": "ETAUpdated", "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }] }, "api.indexationSkip": true } },
{ no: 22, name: "ExecutionflowETAComputed", kind: "message", localName: "ExecutionflowETAComputed", jsonName: "ExecutionflowETAComputed", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.indexationSkip": true } }
]);
}
create(value?: PartialMessage<ExecutionflowPayload>): ExecutionflowPayload {
const message = globalThis.Object.create((this.messagePrototype!));
message.orderID = "";
message.metaData = [];
message.carrierService = "";
message.lines = [];
message.handlingunits = [];
message.shipFromAcked = false;
message.shipToAcked = false;
message.attachments = [];
message.attachmentNumber = 0;
message.claims = [];
message.claimNumber = 0;
message.handlingunitETAs = [];
message.OrderID = "";
message.MetaData = [];
message.CarrierService = "";
message.Lines = [];
message.Handlingunits = [];
message.ShipFromAcked = false;
message.ShipToAcked = false;
message.Attachments = [];
message.AttachmentNumber = 0;
message.Claims = [];
message.ClaimNumber = 0;
message.HandlingunitETAs = [];
if (value !== undefined)
reflectionMergePartial<ExecutionflowPayload>(this, message, value);
return message;
@@ -294,64 +294,64 @@ class ExecutionflowPayload$Type extends MessageType<ExecutionflowPayload> {
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);
message.CreationDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.CreationDateTime);
break;
case /* string OrderID = 2 [json_name = "OrderID"];*/ 2:
message.orderID = reader.string();
message.OrderID = reader.string();
break;
case /* repeated api.MetadataElement MetaData = 3 [json_name = "MetaData"];*/ 3:
message.metaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
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);
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);
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);
message.Carrier = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.Carrier);
break;
case /* string CarrierService = 7 [json_name = "CarrierService"];*/ 7:
message.carrierService = reader.string();
message.CarrierService = reader.string();
break;
case /* api.OrderRequestedMilestones RequestedMilestones = 8 [json_name = "RequestedMilestones"];*/ 8:
message.requestedMilestones = OrderRequestedMilestones.internalBinaryRead(reader, reader.uint32(), options, message.requestedMilestones);
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));
message.Lines.push(ExeFlowLine.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* repeated api.HandlingunitSummary Handlingunits = 11 [json_name = "Handlingunits"];*/ 11:
message.handlingunits.push(HandlingunitSummary.internalBinaryRead(reader, reader.uint32(), options));
message.Handlingunits.push(HandlingunitSummary.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.ExecutionflowStatusStruct Status = 13 [json_name = "Status"];*/ 13:
message.status = ExecutionflowStatusStruct.internalBinaryRead(reader, reader.uint32(), options, message.status);
message.Status = ExecutionflowStatusStruct.internalBinaryRead(reader, reader.uint32(), options, message.Status);
break;
case /* bool ShipFromAcked = 14 [json_name = "ShipFromAcked"];*/ 14:
message.shipFromAcked = reader.bool();
message.ShipFromAcked = reader.bool();
break;
case /* bool ShipToAcked = 15 [json_name = "ShipToAcked"];*/ 15:
message.shipToAcked = reader.bool();
message.ShipToAcked = reader.bool();
break;
case /* repeated api.AttachmentSummary Attachments = 16 [json_name = "Attachments"];*/ 16:
message.attachments.push(AttachmentSummary.internalBinaryRead(reader, reader.uint32(), options));
message.Attachments.push(AttachmentSummary.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* int32 AttachmentNumber = 17 [json_name = "AttachmentNumber"];*/ 17:
message.attachmentNumber = reader.int32();
message.AttachmentNumber = reader.int32();
break;
case /* repeated api.ClaimSummary Claims = 18 [json_name = "Claims"];*/ 18:
message.claims.push(ClaimSummary.internalBinaryRead(reader, reader.uint32(), options));
message.Claims.push(ClaimSummary.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* int32 ClaimNumber = 19 [json_name = "ClaimNumber"];*/ 19:
message.claimNumber = reader.int32();
message.ClaimNumber = reader.int32();
break;
case /* repeated api.ETAbyHU HandlingunitETAs = 20 [json_name = "HandlingunitETAs"];*/ 20:
message.handlingunitETAs.push(ETAbyHU.internalBinaryRead(reader, reader.uint32(), options));
message.HandlingunitETAs.push(ETAbyHU.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.ETA ExecutionflowETA = 21 [json_name = "ExecutionflowETA"];*/ 21:
message.executionflowETA = ETA.internalBinaryRead(reader, reader.uint32(), options, message.executionflowETA);
message.ExecutionflowETA = ETA.internalBinaryRead(reader, reader.uint32(), options, message.ExecutionflowETA);
break;
case /* api.ETA ExecutionflowETAComputed = 22 [json_name = "ExecutionflowETAComputed"];*/ 22:
message.executionflowETAComputed = ETA.internalBinaryRead(reader, reader.uint32(), options, message.executionflowETAComputed);
message.ExecutionflowETAComputed = ETA.internalBinaryRead(reader, reader.uint32(), options, message.ExecutionflowETAComputed);
break;
default:
let u = options.readUnknownField;
@@ -366,65 +366,65 @@ class ExecutionflowPayload$Type extends MessageType<ExecutionflowPayload> {
}
internalBinaryWrite(message: ExecutionflowPayload, 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();
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);
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();
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();
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();
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();
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);
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();
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();
for (let i = 0; i < message.Lines.length; i++)
ExeFlowLine.internalBinaryWrite(message.Lines[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join();
/* repeated api.HandlingunitSummary Handlingunits = 11 [json_name = "Handlingunits"]; */
for (let i = 0; i < message.handlingunits.length; i++)
HandlingunitSummary.internalBinaryWrite(message.handlingunits[i], writer.tag(11, WireType.LengthDelimited).fork(), options).join();
for (let i = 0; i < message.Handlingunits.length; i++)
HandlingunitSummary.internalBinaryWrite(message.Handlingunits[i], writer.tag(11, WireType.LengthDelimited).fork(), options).join();
/* api.ExecutionflowStatusStruct Status = 13 [json_name = "Status"]; */
if (message.status)
ExecutionflowStatusStruct.internalBinaryWrite(message.status, writer.tag(13, WireType.LengthDelimited).fork(), options).join();
if (message.Status)
ExecutionflowStatusStruct.internalBinaryWrite(message.Status, writer.tag(13, WireType.LengthDelimited).fork(), options).join();
/* bool ShipFromAcked = 14 [json_name = "ShipFromAcked"]; */
if (message.shipFromAcked !== false)
writer.tag(14, WireType.Varint).bool(message.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);
if (message.ShipToAcked !== false)
writer.tag(15, WireType.Varint).bool(message.ShipToAcked);
/* repeated api.AttachmentSummary Attachments = 16 [json_name = "Attachments"]; */
for (let i = 0; i < message.attachments.length; i++)
AttachmentSummary.internalBinaryWrite(message.attachments[i], writer.tag(16, WireType.LengthDelimited).fork(), options).join();
for (let i = 0; i < message.Attachments.length; i++)
AttachmentSummary.internalBinaryWrite(message.Attachments[i], writer.tag(16, WireType.LengthDelimited).fork(), options).join();
/* int32 AttachmentNumber = 17 [json_name = "AttachmentNumber"]; */
if (message.attachmentNumber !== 0)
writer.tag(17, WireType.Varint).int32(message.attachmentNumber);
if (message.AttachmentNumber !== 0)
writer.tag(17, WireType.Varint).int32(message.AttachmentNumber);
/* repeated api.ClaimSummary Claims = 18 [json_name = "Claims"]; */
for (let i = 0; i < message.claims.length; i++)
ClaimSummary.internalBinaryWrite(message.claims[i], writer.tag(18, WireType.LengthDelimited).fork(), options).join();
for (let i = 0; i < message.Claims.length; i++)
ClaimSummary.internalBinaryWrite(message.Claims[i], writer.tag(18, WireType.LengthDelimited).fork(), options).join();
/* int32 ClaimNumber = 19 [json_name = "ClaimNumber"]; */
if (message.claimNumber !== 0)
writer.tag(19, WireType.Varint).int32(message.claimNumber);
if (message.ClaimNumber !== 0)
writer.tag(19, WireType.Varint).int32(message.ClaimNumber);
/* repeated api.ETAbyHU HandlingunitETAs = 20 [json_name = "HandlingunitETAs"]; */
for (let i = 0; i < message.handlingunitETAs.length; i++)
ETAbyHU.internalBinaryWrite(message.handlingunitETAs[i], writer.tag(20, WireType.LengthDelimited).fork(), options).join();
for (let i = 0; i < message.HandlingunitETAs.length; i++)
ETAbyHU.internalBinaryWrite(message.HandlingunitETAs[i], writer.tag(20, WireType.LengthDelimited).fork(), options).join();
/* api.ETA ExecutionflowETA = 21 [json_name = "ExecutionflowETA"]; */
if (message.executionflowETA)
ETA.internalBinaryWrite(message.executionflowETA, writer.tag(21, WireType.LengthDelimited).fork(), options).join();
if (message.ExecutionflowETA)
ETA.internalBinaryWrite(message.ExecutionflowETA, writer.tag(21, WireType.LengthDelimited).fork(), options).join();
/* api.ETA ExecutionflowETAComputed = 22 [json_name = "ExecutionflowETAComputed"]; */
if (message.executionflowETAComputed)
ETA.internalBinaryWrite(message.executionflowETAComputed, writer.tag(22, WireType.LengthDelimited).fork(), options).join();
if (message.ExecutionflowETAComputed)
ETA.internalBinaryWrite(message.ExecutionflowETAComputed, writer.tag(22, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -439,9 +439,9 @@ export const ExecutionflowPayload = new ExecutionflowPayload$Type();
class Executionflow$Type extends MessageType<Executionflow> {
constructor() {
super("api.Executionflow", [
{ no: 1, name: "LastEventHeader", kind: "message", jsonName: "LastEventHeader", T: () => EventHeader },
{ no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID },
{ no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ExecutionflowPayload }
{ no: 1, name: "LastEventHeader", kind: "message", localName: "LastEventHeader", jsonName: "LastEventHeader", T: () => EventHeader },
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID },
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowPayload }
]);
}
create(value?: PartialMessage<Executionflow>): Executionflow {
@@ -456,13 +456,13 @@ class Executionflow$Type extends MessageType<Executionflow> {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.EventHeader LastEventHeader = 1 [json_name = "LastEventHeader"];*/ 1:
message.lastEventHeader = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.lastEventHeader);
message.LastEventHeader = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.LastEventHeader);
break;
case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2:
message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD);
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
break;
case /* api.ExecutionflowPayload Payload = 3 [json_name = "Payload"];*/ 3:
message.payload = ExecutionflowPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload);
message.Payload = ExecutionflowPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
break;
default:
let u = options.readUnknownField;
@@ -477,14 +477,14 @@ class Executionflow$Type extends MessageType<Executionflow> {
}
internalBinaryWrite(message: Executionflow, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.EventHeader LastEventHeader = 1 [json_name = "LastEventHeader"]; */
if (message.lastEventHeader)
EventHeader.internalBinaryWrite(message.lastEventHeader, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
if (message.LastEventHeader)
EventHeader.internalBinaryWrite(message.LastEventHeader, 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();
if (message.ID)
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.ExecutionflowPayload Payload = 3 [json_name = "Payload"]; */
if (message.payload)
ExecutionflowPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
if (message.Payload)
ExecutionflowPayload.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);
@@ -499,30 +499,30 @@ export const Executionflow = new Executionflow$Type();
class ExecutionflowEnrichment$Type extends MessageType<ExecutionflowEnrichment> {
constructor() {
super("api.ExecutionflowEnrichment", [
{ no: 1, name: "ParentEventID", kind: "scalar", jsonName: "ParentEventID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "EntityName", kind: "scalar", jsonName: "EntityName", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "EntityRefID", kind: "scalar", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "RefFilter", kind: "scalar", jsonName: "RefFilter", T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "MergePath", kind: "scalar", jsonName: "MergePath", T: 9 /*ScalarType.STRING*/ },
{ no: 10, name: "Item", kind: "message", jsonName: "Item", oneof: "content", T: () => ItemPayload },
{ no: 11, name: "Actor", kind: "message", jsonName: "Actor", oneof: "content", T: () => ActorPayload },
{ no: 12, name: "Partner", kind: "message", jsonName: "Partner", oneof: "content", T: () => PartnerPayload },
{ no: 6, name: "Project", kind: "scalar", jsonName: "Project", T: 9 /*ScalarType.STRING*/ },
{ no: 7, name: "ParentEntityName", kind: "scalar", jsonName: "ParentEntityName", T: 9 /*ScalarType.STRING*/ },
{ no: 8, name: "ParentEntityID", kind: "scalar", jsonName: "ParentEntityID", T: 9 /*ScalarType.STRING*/ }
{ no: 1, name: "ParentEventID", kind: "scalar", localName: "ParentEventID", jsonName: "ParentEventID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "EntityName", kind: "scalar", localName: "EntityName", jsonName: "EntityName", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "RefFilter", kind: "scalar", localName: "RefFilter", jsonName: "RefFilter", T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "MergePath", kind: "scalar", localName: "MergePath", jsonName: "MergePath", T: 9 /*ScalarType.STRING*/ },
{ no: 10, name: "Item", kind: "message", localName: "Item", jsonName: "Item", oneof: "Content", T: () => ItemPayload },
{ no: 11, name: "Actor", kind: "message", localName: "Actor", jsonName: "Actor", oneof: "Content", T: () => ActorPayload },
{ no: 12, name: "Partner", kind: "message", localName: "Partner", jsonName: "Partner", oneof: "Content", T: () => PartnerPayload },
{ no: 6, name: "Project", kind: "scalar", localName: "Project", jsonName: "Project", T: 9 /*ScalarType.STRING*/ },
{ no: 7, name: "ParentEntityName", kind: "scalar", localName: "ParentEntityName", jsonName: "ParentEntityName", T: 9 /*ScalarType.STRING*/ },
{ no: 8, name: "ParentEntityID", kind: "scalar", localName: "ParentEntityID", jsonName: "ParentEntityID", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<ExecutionflowEnrichment>): ExecutionflowEnrichment {
const message = globalThis.Object.create((this.messagePrototype!));
message.parentEventID = "";
message.entityName = "";
message.entityRefID = "";
message.refFilter = "";
message.mergePath = "";
message.content = { oneofKind: undefined };
message.project = "";
message.parentEntityName = "";
message.parentEntityID = "";
message.ParentEventID = "";
message.EntityName = "";
message.EntityRefID = "";
message.RefFilter = "";
message.MergePath = "";
message.Content = { oneofKind: undefined };
message.Project = "";
message.ParentEntityName = "";
message.ParentEntityID = "";
if (value !== undefined)
reflectionMergePartial<ExecutionflowEnrichment>(this, message, value);
return message;
@@ -533,46 +533,46 @@ class ExecutionflowEnrichment$Type extends MessageType<ExecutionflowEnrichment>
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ParentEventID = 1 [json_name = "ParentEventID"];*/ 1:
message.parentEventID = reader.string();
message.ParentEventID = reader.string();
break;
case /* string EntityName = 2 [json_name = "EntityName"];*/ 2:
message.entityName = reader.string();
message.EntityName = reader.string();
break;
case /* string EntityRefID = 3 [json_name = "EntityRefID"];*/ 3:
message.entityRefID = reader.string();
message.EntityRefID = reader.string();
break;
case /* string RefFilter = 4 [json_name = "RefFilter"];*/ 4:
message.refFilter = reader.string();
message.RefFilter = reader.string();
break;
case /* string MergePath = 5 [json_name = "MergePath"];*/ 5:
message.mergePath = reader.string();
message.MergePath = reader.string();
break;
case /* api.ItemPayload Item = 10 [json_name = "Item"];*/ 10:
message.content = {
oneofKind: "item",
item: ItemPayload.internalBinaryRead(reader, reader.uint32(), options, (message.content as any).item)
message.Content = {
oneofKind: "Item",
Item: ItemPayload.internalBinaryRead(reader, reader.uint32(), options, (message.Content as any).Item)
};
break;
case /* api.ActorPayload Actor = 11 [json_name = "Actor"];*/ 11:
message.content = {
oneofKind: "actor",
actor: ActorPayload.internalBinaryRead(reader, reader.uint32(), options, (message.content as any).actor)
message.Content = {
oneofKind: "Actor",
Actor: ActorPayload.internalBinaryRead(reader, reader.uint32(), options, (message.Content as any).Actor)
};
break;
case /* api.PartnerPayload Partner = 12 [json_name = "Partner"];*/ 12:
message.content = {
oneofKind: "partner",
partner: PartnerPayload.internalBinaryRead(reader, reader.uint32(), options, (message.content as any).partner)
message.Content = {
oneofKind: "Partner",
Partner: PartnerPayload.internalBinaryRead(reader, reader.uint32(), options, (message.Content as any).Partner)
};
break;
case /* string Project = 6 [json_name = "Project"];*/ 6:
message.project = reader.string();
message.Project = reader.string();
break;
case /* string ParentEntityName = 7 [json_name = "ParentEntityName"];*/ 7:
message.parentEntityName = reader.string();
message.ParentEntityName = reader.string();
break;
case /* string ParentEntityID = 8 [json_name = "ParentEntityID"];*/ 8:
message.parentEntityID = reader.string();
message.ParentEntityID = reader.string();
break;
default:
let u = options.readUnknownField;
@@ -587,38 +587,38 @@ class ExecutionflowEnrichment$Type extends MessageType<ExecutionflowEnrichment>
}
internalBinaryWrite(message: ExecutionflowEnrichment, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ParentEventID = 1 [json_name = "ParentEventID"]; */
if (message.parentEventID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.parentEventID);
if (message.ParentEventID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ParentEventID);
/* string EntityName = 2 [json_name = "EntityName"]; */
if (message.entityName !== "")
writer.tag(2, WireType.LengthDelimited).string(message.entityName);
if (message.EntityName !== "")
writer.tag(2, WireType.LengthDelimited).string(message.EntityName);
/* string EntityRefID = 3 [json_name = "EntityRefID"]; */
if (message.entityRefID !== "")
writer.tag(3, WireType.LengthDelimited).string(message.entityRefID);
if (message.EntityRefID !== "")
writer.tag(3, WireType.LengthDelimited).string(message.EntityRefID);
/* string RefFilter = 4 [json_name = "RefFilter"]; */
if (message.refFilter !== "")
writer.tag(4, WireType.LengthDelimited).string(message.refFilter);
if (message.RefFilter !== "")
writer.tag(4, WireType.LengthDelimited).string(message.RefFilter);
/* string MergePath = 5 [json_name = "MergePath"]; */
if (message.mergePath !== "")
writer.tag(5, WireType.LengthDelimited).string(message.mergePath);
if (message.MergePath !== "")
writer.tag(5, WireType.LengthDelimited).string(message.MergePath);
/* api.ItemPayload Item = 10 [json_name = "Item"]; */
if (message.content.oneofKind === "item")
ItemPayload.internalBinaryWrite(message.content.item, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
if (message.Content.oneofKind === "Item")
ItemPayload.internalBinaryWrite(message.Content.Item, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
/* api.ActorPayload Actor = 11 [json_name = "Actor"]; */
if (message.content.oneofKind === "actor")
ActorPayload.internalBinaryWrite(message.content.actor, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
if (message.Content.oneofKind === "Actor")
ActorPayload.internalBinaryWrite(message.Content.Actor, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
/* api.PartnerPayload Partner = 12 [json_name = "Partner"]; */
if (message.content.oneofKind === "partner")
PartnerPayload.internalBinaryWrite(message.content.partner, writer.tag(12, WireType.LengthDelimited).fork(), options).join();
if (message.Content.oneofKind === "Partner")
PartnerPayload.internalBinaryWrite(message.Content.Partner, writer.tag(12, WireType.LengthDelimited).fork(), options).join();
/* string Project = 6 [json_name = "Project"]; */
if (message.project !== "")
writer.tag(6, WireType.LengthDelimited).string(message.project);
if (message.Project !== "")
writer.tag(6, WireType.LengthDelimited).string(message.Project);
/* string ParentEntityName = 7 [json_name = "ParentEntityName"]; */
if (message.parentEntityName !== "")
writer.tag(7, WireType.LengthDelimited).string(message.parentEntityName);
if (message.ParentEntityName !== "")
writer.tag(7, WireType.LengthDelimited).string(message.ParentEntityName);
/* string ParentEntityID = 8 [json_name = "ParentEntityID"]; */
if (message.parentEntityID !== "")
writer.tag(8, WireType.LengthDelimited).string(message.parentEntityID);
if (message.ParentEntityID !== "")
writer.tag(8, WireType.LengthDelimited).string(message.ParentEntityID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -633,9 +633,9 @@ export const ExecutionflowEnrichment = new ExecutionflowEnrichment$Type();
class ExecutionflowTriplet$Type extends MessageType<ExecutionflowTriplet> {
constructor() {
super("api.ExecutionflowTriplet", [
{ no: 1, name: "Current", kind: "message", jsonName: "Current", T: () => Executionflow },
{ no: 2, name: "Previous", kind: "message", jsonName: "Previous", T: () => Executionflow },
{ no: 3, name: "LastEvent", kind: "message", jsonName: "LastEvent", T: () => Executionflow }
{ no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => Executionflow },
{ no: 2, name: "Previous", kind: "message", localName: "Previous", jsonName: "Previous", T: () => Executionflow },
{ no: 3, name: "LastEvent", kind: "message", localName: "LastEvent", jsonName: "LastEvent", T: () => Executionflow }
]);
}
create(value?: PartialMessage<ExecutionflowTriplet>): ExecutionflowTriplet {
@@ -650,13 +650,13 @@ class ExecutionflowTriplet$Type extends MessageType<ExecutionflowTriplet> {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.Executionflow Current = 1 [json_name = "Current"];*/ 1:
message.current = Executionflow.internalBinaryRead(reader, reader.uint32(), options, message.current);
message.Current = Executionflow.internalBinaryRead(reader, reader.uint32(), options, message.Current);
break;
case /* api.Executionflow Previous = 2 [json_name = "Previous"];*/ 2:
message.previous = Executionflow.internalBinaryRead(reader, reader.uint32(), options, message.previous);
message.Previous = Executionflow.internalBinaryRead(reader, reader.uint32(), options, message.Previous);
break;
case /* api.Executionflow LastEvent = 3 [json_name = "LastEvent"];*/ 3:
message.lastEvent = Executionflow.internalBinaryRead(reader, reader.uint32(), options, message.lastEvent);
message.LastEvent = Executionflow.internalBinaryRead(reader, reader.uint32(), options, message.LastEvent);
break;
default:
let u = options.readUnknownField;
@@ -671,14 +671,14 @@ class ExecutionflowTriplet$Type extends MessageType<ExecutionflowTriplet> {
}
internalBinaryWrite(message: ExecutionflowTriplet, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.Executionflow Current = 1 [json_name = "Current"]; */
if (message.current)
Executionflow.internalBinaryWrite(message.current, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
if (message.Current)
Executionflow.internalBinaryWrite(message.Current, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* api.Executionflow Previous = 2 [json_name = "Previous"]; */
if (message.previous)
Executionflow.internalBinaryWrite(message.previous, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
if (message.Previous)
Executionflow.internalBinaryWrite(message.Previous, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.Executionflow LastEvent = 3 [json_name = "LastEvent"]; */
if (message.lastEvent)
Executionflow.internalBinaryWrite(message.lastEvent, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
if (message.LastEvent)
Executionflow.internalBinaryWrite(message.LastEvent, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);