Latest generation

This commit is contained in:
ci core model
2025-05-26 12:14:28 +00:00
parent 65247e7fe4
commit cc9c6d0b4c
197 changed files with 15132 additions and 15052 deletions

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.0 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";
@@ -51,49 +51,49 @@ import { DateTime } from "./shared";
*/
export interface ExecutionflowPayload {
/**
* @generated from protobuf field: api.DateTime CreationDateTime = 1 [json_name = "CreationDateTime"];
* @generated from protobuf field: api.DateTime CreationDateTime = 1
*/
CreationDateTime?: DateTime;
/**
* @generated from protobuf field: string OrderID = 2 [json_name = "OrderID"];
* @generated from protobuf field: string OrderID = 2
*/
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"];
* @generated from protobuf field: repeated api.MetadataElement MetaData = 3
*/
MetaData: MetadataElement[];
/**
* Where to ship the order from
*
* @generated from protobuf field: api.TradeTier ShipFrom = 4 [json_name = "ShipFrom"];
* @generated from protobuf field: api.TradeTier ShipFrom = 4
*/
ShipFrom?: TradeTier;
/**
* Where to ship the order to
*
* @generated from protobuf field: api.TradeTier ShipTo = 5 [json_name = "ShipTo"];
* @generated from protobuf field: api.TradeTier ShipTo = 5
*/
ShipTo?: TradeTier;
/**
* Definition of the order carrier
*
* @generated from protobuf field: api.TradeTier Carrier = 6 [json_name = "Carrier"];
* @generated from protobuf field: api.TradeTier Carrier = 6
*/
Carrier?: TradeTier;
/**
* Type of carrier service
*
* @generated from protobuf field: string CarrierService = 7 [json_name = "CarrierService"];
* @generated from protobuf field: string CarrierService = 7
*/
CarrierService: string;
/**
* @generated from protobuf field: api.OrderRequestedMilestones RequestedMilestones = 8 [json_name = "RequestedMilestones"];
* @generated from protobuf field: api.OrderRequestedMilestones RequestedMilestones = 8
*/
RequestedMilestones?: OrderRequestedMilestones;
/**
* @generated from protobuf field: repeated api.ExeFlowLine Lines = 9 [json_name = "Lines"];
* @generated from protobuf field: repeated api.ExeFlowLine Lines = 9
*/
Lines: ExeFlowLine[];
//
@@ -101,47 +101,47 @@ export interface ExecutionflowPayload {
// The goods content of the HU is coming from handlingunit entity.
/**
* @generated from protobuf field: repeated api.HandlingunitSummary Handlingunits = 11 [json_name = "Handlingunits"];
* @generated from protobuf field: repeated api.HandlingunitSummary Handlingunits = 11
*/
Handlingunits: HandlingunitSummary[];
/**
* @generated from protobuf field: api.ExecutionflowStatusStruct Status = 13 [json_name = "Status"];
* @generated from protobuf field: api.ExecutionflowStatusStruct Status = 13
*/
Status?: ExecutionflowStatusStruct; // Status field is not accessible from APIs
/**
* @generated from protobuf field: bool ShipFromAcked = 14 [json_name = "ShipFromAcked"];
* @generated from protobuf field: bool ShipFromAcked = 14
*/
ShipFromAcked: boolean;
/**
* @generated from protobuf field: bool ShipToAcked = 15 [json_name = "ShipToAcked"];
* @generated from protobuf field: bool ShipToAcked = 15
*/
ShipToAcked: boolean;
/**
* @generated from protobuf field: repeated api.AttachmentSummary Attachments = 16 [json_name = "Attachments"];
* @generated from protobuf field: repeated api.AttachmentSummary Attachments = 16
*/
Attachments: AttachmentSummary[];
/**
* @generated from protobuf field: int32 AttachmentNumber = 17 [json_name = "AttachmentNumber"];
* @generated from protobuf field: int32 AttachmentNumber = 17
*/
AttachmentNumber: number;
/**
* @generated from protobuf field: repeated api.ClaimSummary Claims = 18 [json_name = "Claims"];
* @generated from protobuf field: repeated api.ClaimSummary Claims = 18
*/
Claims: ClaimSummary[];
/**
* @generated from protobuf field: int32 ClaimNumber = 19 [json_name = "ClaimNumber"];
* @generated from protobuf field: int32 ClaimNumber = 19
*/
ClaimNumber: number;
/**
* @generated from protobuf field: repeated api.ETAbyHU HandlingunitETAs = 20 [json_name = "HandlingunitETAs"];
* @generated from protobuf field: repeated api.ETAbyHU HandlingunitETAs = 20
*/
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"];
* @generated from protobuf field: api.ETA ExecutionflowETA = 21
*/
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"];
* @generated from protobuf field: api.ETA ExecutionflowETAComputed = 22
*/
ExecutionflowETAComputed?: ETA;
}
@@ -152,15 +152,15 @@ export interface ExecutionflowPayload {
*/
export interface Executionflow {
/**
* @generated from protobuf field: api.EventHeader LastEventHeader = 1 [json_name = "LastEventHeader"];
* @generated from protobuf field: api.EventHeader LastEventHeader = 1
*/
LastEventHeader?: EventHeader;
/**
* @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"];
* @generated from protobuf field: api.EntityID ID = 2
*/
ID?: EntityID;
/**
* @generated from protobuf field: api.ExecutionflowPayload Payload = 3 [json_name = "Payload"];
* @generated from protobuf field: api.ExecutionflowPayload Payload = 3
*/
Payload?: ExecutionflowPayload;
}
@@ -171,23 +171,23 @@ export interface Executionflow {
*/
export interface ExecutionflowEnrichment {
/**
* @generated from protobuf field: string ParentEventID = 1 [json_name = "ParentEventID"];
* @generated from protobuf field: string ParentEventID = 1
*/
ParentEventID: string;
/**
* @generated from protobuf field: string EntityName = 2 [json_name = "EntityName"];
* @generated from protobuf field: string EntityName = 2
*/
EntityName: string;
/**
* @generated from protobuf field: string EntityRefID = 3 [json_name = "EntityRefID"];
* @generated from protobuf field: string EntityRefID = 3
*/
EntityRefID: string;
/**
* @generated from protobuf field: string RefFilter = 4 [json_name = "RefFilter"];
* @generated from protobuf field: string RefFilter = 4
*/
RefFilter: string;
/**
* @generated from protobuf field: string MergePath = 5 [json_name = "MergePath"];
* @generated from protobuf field: string MergePath = 5
*/
MergePath: string;
/**
@@ -196,34 +196,34 @@ export interface ExecutionflowEnrichment {
Content: {
oneofKind: "Item";
/**
* @generated from protobuf field: api.ItemPayload Item = 10 [json_name = "Item"];
* @generated from protobuf field: api.ItemPayload Item = 10
*/
Item: ItemPayload;
} | {
oneofKind: "Actor";
/**
* @generated from protobuf field: api.ActorPayload Actor = 11 [json_name = "Actor"];
* @generated from protobuf field: api.ActorPayload Actor = 11
*/
Actor: ActorPayload;
} | {
oneofKind: "Partner";
/**
* @generated from protobuf field: api.PartnerPayload Partner = 12 [json_name = "Partner"];
* @generated from protobuf field: api.PartnerPayload Partner = 12
*/
Partner: PartnerPayload;
} | {
oneofKind: undefined;
};
/**
* @generated from protobuf field: string Project = 6 [json_name = "Project"];
* @generated from protobuf field: string Project = 6
*/
Project: string;
/**
* @generated from protobuf field: string ParentEntityName = 7 [json_name = "ParentEntityName"];
* @generated from protobuf field: string ParentEntityName = 7
*/
ParentEntityName: string;
/**
* @generated from protobuf field: string ParentEntityID = 8 [json_name = "ParentEntityID"];
* @generated from protobuf field: string ParentEntityID = 8
*/
ParentEntityID: string;
}
@@ -232,15 +232,15 @@ export interface ExecutionflowEnrichment {
*/
export interface ExecutionflowTriplet {
/**
* @generated from protobuf field: api.Executionflow Current = 1 [json_name = "Current"];
* @generated from protobuf field: api.Executionflow Current = 1
*/
Current?: Executionflow;
/**
* @generated from protobuf field: api.Executionflow Previous = 2 [json_name = "Previous"];
* @generated from protobuf field: api.Executionflow Previous = 2
*/
Previous?: Executionflow;
/**
* @generated from protobuf field: api.Executionflow LastEvent = 3 [json_name = "LastEvent"];
* @generated from protobuf field: api.Executionflow LastEvent = 3
*/
LastEvent?: Executionflow;
}
@@ -293,64 +293,64 @@ class ExecutionflowPayload$Type extends MessageType<ExecutionflowPayload> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.DateTime CreationDateTime = 1 [json_name = "CreationDateTime"];*/ 1:
case /* api.DateTime CreationDateTime */ 1:
message.CreationDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.CreationDateTime);
break;
case /* string OrderID = 2 [json_name = "OrderID"];*/ 2:
case /* string OrderID */ 2:
message.OrderID = reader.string();
break;
case /* repeated api.MetadataElement MetaData = 3 [json_name = "MetaData"];*/ 3:
case /* repeated api.MetadataElement MetaData */ 3:
message.MetaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.TradeTier ShipFrom = 4 [json_name = "ShipFrom"];*/ 4:
case /* api.TradeTier ShipFrom */ 4:
message.ShipFrom = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.ShipFrom);
break;
case /* api.TradeTier ShipTo = 5 [json_name = "ShipTo"];*/ 5:
case /* api.TradeTier ShipTo */ 5:
message.ShipTo = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.ShipTo);
break;
case /* api.TradeTier Carrier = 6 [json_name = "Carrier"];*/ 6:
case /* api.TradeTier Carrier */ 6:
message.Carrier = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.Carrier);
break;
case /* string CarrierService = 7 [json_name = "CarrierService"];*/ 7:
case /* string CarrierService */ 7:
message.CarrierService = reader.string();
break;
case /* api.OrderRequestedMilestones RequestedMilestones = 8 [json_name = "RequestedMilestones"];*/ 8:
case /* api.OrderRequestedMilestones RequestedMilestones */ 8:
message.RequestedMilestones = OrderRequestedMilestones.internalBinaryRead(reader, reader.uint32(), options, message.RequestedMilestones);
break;
case /* repeated api.ExeFlowLine Lines = 9 [json_name = "Lines"];*/ 9:
case /* repeated api.ExeFlowLine Lines */ 9:
message.Lines.push(ExeFlowLine.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* repeated api.HandlingunitSummary Handlingunits = 11 [json_name = "Handlingunits"];*/ 11:
case /* repeated api.HandlingunitSummary Handlingunits */ 11:
message.Handlingunits.push(HandlingunitSummary.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.ExecutionflowStatusStruct Status = 13 [json_name = "Status"];*/ 13:
case /* api.ExecutionflowStatusStruct Status */ 13:
message.Status = ExecutionflowStatusStruct.internalBinaryRead(reader, reader.uint32(), options, message.Status);
break;
case /* bool ShipFromAcked = 14 [json_name = "ShipFromAcked"];*/ 14:
case /* bool ShipFromAcked */ 14:
message.ShipFromAcked = reader.bool();
break;
case /* bool ShipToAcked = 15 [json_name = "ShipToAcked"];*/ 15:
case /* bool ShipToAcked */ 15:
message.ShipToAcked = reader.bool();
break;
case /* repeated api.AttachmentSummary Attachments = 16 [json_name = "Attachments"];*/ 16:
case /* repeated api.AttachmentSummary Attachments */ 16:
message.Attachments.push(AttachmentSummary.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* int32 AttachmentNumber = 17 [json_name = "AttachmentNumber"];*/ 17:
case /* int32 AttachmentNumber */ 17:
message.AttachmentNumber = reader.int32();
break;
case /* repeated api.ClaimSummary Claims = 18 [json_name = "Claims"];*/ 18:
case /* repeated api.ClaimSummary Claims */ 18:
message.Claims.push(ClaimSummary.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* int32 ClaimNumber = 19 [json_name = "ClaimNumber"];*/ 19:
case /* int32 ClaimNumber */ 19:
message.ClaimNumber = reader.int32();
break;
case /* repeated api.ETAbyHU HandlingunitETAs = 20 [json_name = "HandlingunitETAs"];*/ 20:
case /* repeated api.ETAbyHU HandlingunitETAs */ 20:
message.HandlingunitETAs.push(ETAbyHU.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.ETA ExecutionflowETA = 21 [json_name = "ExecutionflowETA"];*/ 21:
case /* api.ETA ExecutionflowETA */ 21:
message.ExecutionflowETA = ETA.internalBinaryRead(reader, reader.uint32(), options, message.ExecutionflowETA);
break;
case /* api.ETA ExecutionflowETAComputed = 22 [json_name = "ExecutionflowETAComputed"];*/ 22:
case /* api.ETA ExecutionflowETAComputed */ 22:
message.ExecutionflowETAComputed = ETA.internalBinaryRead(reader, reader.uint32(), options, message.ExecutionflowETAComputed);
break;
default:
@@ -365,64 +365,64 @@ class ExecutionflowPayload$Type extends MessageType<ExecutionflowPayload> {
return message;
}
internalBinaryWrite(message: ExecutionflowPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.DateTime CreationDateTime = 1 [json_name = "CreationDateTime"]; */
/* api.DateTime CreationDateTime = 1; */
if (message.CreationDateTime)
DateTime.internalBinaryWrite(message.CreationDateTime, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string OrderID = 2 [json_name = "OrderID"]; */
/* string OrderID = 2; */
if (message.OrderID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.OrderID);
/* repeated api.MetadataElement MetaData = 3 [json_name = "MetaData"]; */
/* repeated api.MetadataElement MetaData = 3; */
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"]; */
/* api.TradeTier ShipFrom = 4; */
if (message.ShipFrom)
TradeTier.internalBinaryWrite(message.ShipFrom, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* api.TradeTier ShipTo = 5 [json_name = "ShipTo"]; */
/* api.TradeTier ShipTo = 5; */
if (message.ShipTo)
TradeTier.internalBinaryWrite(message.ShipTo, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
/* api.TradeTier Carrier = 6 [json_name = "Carrier"]; */
/* api.TradeTier Carrier = 6; */
if (message.Carrier)
TradeTier.internalBinaryWrite(message.Carrier, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
/* string CarrierService = 7 [json_name = "CarrierService"]; */
/* string CarrierService = 7; */
if (message.CarrierService !== "")
writer.tag(7, WireType.LengthDelimited).string(message.CarrierService);
/* api.OrderRequestedMilestones RequestedMilestones = 8 [json_name = "RequestedMilestones"]; */
/* api.OrderRequestedMilestones RequestedMilestones = 8; */
if (message.RequestedMilestones)
OrderRequestedMilestones.internalBinaryWrite(message.RequestedMilestones, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
/* repeated api.ExeFlowLine Lines = 9 [json_name = "Lines"]; */
/* repeated api.ExeFlowLine Lines = 9; */
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"]; */
/* repeated api.HandlingunitSummary Handlingunits = 11; */
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"]; */
/* api.ExecutionflowStatusStruct Status = 13; */
if (message.Status)
ExecutionflowStatusStruct.internalBinaryWrite(message.Status, writer.tag(13, WireType.LengthDelimited).fork(), options).join();
/* bool ShipFromAcked = 14 [json_name = "ShipFromAcked"]; */
/* bool ShipFromAcked = 14; */
if (message.ShipFromAcked !== false)
writer.tag(14, WireType.Varint).bool(message.ShipFromAcked);
/* bool ShipToAcked = 15 [json_name = "ShipToAcked"]; */
/* bool ShipToAcked = 15; */
if (message.ShipToAcked !== false)
writer.tag(15, WireType.Varint).bool(message.ShipToAcked);
/* repeated api.AttachmentSummary Attachments = 16 [json_name = "Attachments"]; */
/* repeated api.AttachmentSummary Attachments = 16; */
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"]; */
/* int32 AttachmentNumber = 17; */
if (message.AttachmentNumber !== 0)
writer.tag(17, WireType.Varint).int32(message.AttachmentNumber);
/* repeated api.ClaimSummary Claims = 18 [json_name = "Claims"]; */
/* repeated api.ClaimSummary Claims = 18; */
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"]; */
/* int32 ClaimNumber = 19; */
if (message.ClaimNumber !== 0)
writer.tag(19, WireType.Varint).int32(message.ClaimNumber);
/* repeated api.ETAbyHU HandlingunitETAs = 20 [json_name = "HandlingunitETAs"]; */
/* repeated api.ETAbyHU HandlingunitETAs = 20; */
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"]; */
/* api.ETA ExecutionflowETA = 21; */
if (message.ExecutionflowETA)
ETA.internalBinaryWrite(message.ExecutionflowETA, writer.tag(21, WireType.LengthDelimited).fork(), options).join();
/* api.ETA ExecutionflowETAComputed = 22 [json_name = "ExecutionflowETAComputed"]; */
/* api.ETA ExecutionflowETAComputed = 22; */
if (message.ExecutionflowETAComputed)
ETA.internalBinaryWrite(message.ExecutionflowETAComputed, writer.tag(22, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -455,13 +455,13 @@ class Executionflow$Type extends MessageType<Executionflow> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.EventHeader LastEventHeader = 1 [json_name = "LastEventHeader"];*/ 1:
case /* api.EventHeader LastEventHeader */ 1:
message.LastEventHeader = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.LastEventHeader);
break;
case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2:
case /* api.EntityID ID */ 2:
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
break;
case /* api.ExecutionflowPayload Payload = 3 [json_name = "Payload"];*/ 3:
case /* api.ExecutionflowPayload Payload */ 3:
message.Payload = ExecutionflowPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
break;
default:
@@ -476,13 +476,13 @@ class Executionflow$Type extends MessageType<Executionflow> {
return message;
}
internalBinaryWrite(message: Executionflow, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.EventHeader LastEventHeader = 1 [json_name = "LastEventHeader"]; */
/* api.EventHeader LastEventHeader = 1; */
if (message.LastEventHeader)
EventHeader.internalBinaryWrite(message.LastEventHeader, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* api.EntityID ID = 2 [json_name = "ID"]; */
/* api.EntityID ID = 2; */
if (message.ID)
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.ExecutionflowPayload Payload = 3 [json_name = "Payload"]; */
/* api.ExecutionflowPayload Payload = 3; */
if (message.Payload)
ExecutionflowPayload.internalBinaryWrite(message.Payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -532,46 +532,46 @@ class ExecutionflowEnrichment$Type extends MessageType<ExecutionflowEnrichment>
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ParentEventID = 1 [json_name = "ParentEventID"];*/ 1:
case /* string ParentEventID */ 1:
message.ParentEventID = reader.string();
break;
case /* string EntityName = 2 [json_name = "EntityName"];*/ 2:
case /* string EntityName */ 2:
message.EntityName = reader.string();
break;
case /* string EntityRefID = 3 [json_name = "EntityRefID"];*/ 3:
case /* string EntityRefID */ 3:
message.EntityRefID = reader.string();
break;
case /* string RefFilter = 4 [json_name = "RefFilter"];*/ 4:
case /* string RefFilter */ 4:
message.RefFilter = reader.string();
break;
case /* string MergePath = 5 [json_name = "MergePath"];*/ 5:
case /* string MergePath */ 5:
message.MergePath = reader.string();
break;
case /* api.ItemPayload Item = 10 [json_name = "Item"];*/ 10:
case /* api.ItemPayload Item */ 10:
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:
case /* api.ActorPayload Actor */ 11:
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:
case /* api.PartnerPayload Partner */ 12:
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:
case /* string Project */ 6:
message.Project = reader.string();
break;
case /* string ParentEntityName = 7 [json_name = "ParentEntityName"];*/ 7:
case /* string ParentEntityName */ 7:
message.ParentEntityName = reader.string();
break;
case /* string ParentEntityID = 8 [json_name = "ParentEntityID"];*/ 8:
case /* string ParentEntityID */ 8:
message.ParentEntityID = reader.string();
break;
default:
@@ -586,37 +586,37 @@ class ExecutionflowEnrichment$Type extends MessageType<ExecutionflowEnrichment>
return message;
}
internalBinaryWrite(message: ExecutionflowEnrichment, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ParentEventID = 1 [json_name = "ParentEventID"]; */
/* string ParentEventID = 1; */
if (message.ParentEventID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ParentEventID);
/* string EntityName = 2 [json_name = "EntityName"]; */
/* string EntityName = 2; */
if (message.EntityName !== "")
writer.tag(2, WireType.LengthDelimited).string(message.EntityName);
/* string EntityRefID = 3 [json_name = "EntityRefID"]; */
/* string EntityRefID = 3; */
if (message.EntityRefID !== "")
writer.tag(3, WireType.LengthDelimited).string(message.EntityRefID);
/* string RefFilter = 4 [json_name = "RefFilter"]; */
/* string RefFilter = 4; */
if (message.RefFilter !== "")
writer.tag(4, WireType.LengthDelimited).string(message.RefFilter);
/* string MergePath = 5 [json_name = "MergePath"]; */
/* string MergePath = 5; */
if (message.MergePath !== "")
writer.tag(5, WireType.LengthDelimited).string(message.MergePath);
/* string Project = 6 [json_name = "Project"]; */
/* string Project = 6; */
if (message.Project !== "")
writer.tag(6, WireType.LengthDelimited).string(message.Project);
/* string ParentEntityName = 7 [json_name = "ParentEntityName"]; */
/* string ParentEntityName = 7; */
if (message.ParentEntityName !== "")
writer.tag(7, WireType.LengthDelimited).string(message.ParentEntityName);
/* string ParentEntityID = 8 [json_name = "ParentEntityID"]; */
/* string ParentEntityID = 8; */
if (message.ParentEntityID !== "")
writer.tag(8, WireType.LengthDelimited).string(message.ParentEntityID);
/* api.ItemPayload Item = 10 [json_name = "Item"]; */
/* api.ItemPayload Item = 10; */
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"]; */
/* api.ActorPayload Actor = 11; */
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"]; */
/* api.PartnerPayload Partner = 12; */
if (message.Content.oneofKind === "Partner")
PartnerPayload.internalBinaryWrite(message.Content.Partner, writer.tag(12, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -649,13 +649,13 @@ class ExecutionflowTriplet$Type extends MessageType<ExecutionflowTriplet> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.Executionflow Current = 1 [json_name = "Current"];*/ 1:
case /* api.Executionflow Current */ 1:
message.Current = Executionflow.internalBinaryRead(reader, reader.uint32(), options, message.Current);
break;
case /* api.Executionflow Previous = 2 [json_name = "Previous"];*/ 2:
case /* api.Executionflow Previous */ 2:
message.Previous = Executionflow.internalBinaryRead(reader, reader.uint32(), options, message.Previous);
break;
case /* api.Executionflow LastEvent = 3 [json_name = "LastEvent"];*/ 3:
case /* api.Executionflow LastEvent */ 3:
message.LastEvent = Executionflow.internalBinaryRead(reader, reader.uint32(), options, message.LastEvent);
break;
default:
@@ -670,13 +670,13 @@ class ExecutionflowTriplet$Type extends MessageType<ExecutionflowTriplet> {
return message;
}
internalBinaryWrite(message: ExecutionflowTriplet, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.Executionflow Current = 1 [json_name = "Current"]; */
/* api.Executionflow Current = 1; */
if (message.Current)
Executionflow.internalBinaryWrite(message.Current, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* api.Executionflow Previous = 2 [json_name = "Previous"]; */
/* api.Executionflow Previous = 2; */
if (message.Previous)
Executionflow.internalBinaryWrite(message.Previous, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.Executionflow LastEvent = 3 [json_name = "LastEvent"]; */
/* api.Executionflow LastEvent = 3; */
if (message.LastEvent)
Executionflow.internalBinaryWrite(message.LastEvent, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;