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 "tradeShared.proto" (package "api", syntax proto3)
// tslint:disable
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
@@ -33,11 +33,11 @@ import { DateTime } from "./shared";
*/
export interface ReferencedID {
/**
* @generated from protobuf field: string RefID = 1 [json_name = "RefID"];
* @generated from protobuf field: string RefID = 1
*/
RefID: string;
/**
* @generated from protobuf field: string Reason = 2 [json_name = "Reason"];
* @generated from protobuf field: string Reason = 2
*/
Reason: string;
}
@@ -46,15 +46,15 @@ export interface ReferencedID {
*/
export interface OrderRequestedMilestones {
/**
* @generated from protobuf field: api.DateTime RequestedDeliveryDateTime = 1 [json_name = "RequestedDeliveryDateTime"];
* @generated from protobuf field: api.DateTime RequestedDeliveryDateTime = 1
*/
RequestedDeliveryDateTime?: DateTime;
/**
* @generated from protobuf field: api.DateTime RequestedPickUpDateTime = 2 [json_name = "RequestedPickUpDateTime"];
* @generated from protobuf field: api.DateTime RequestedPickUpDateTime = 2
*/
RequestedPickUpDateTime?: DateTime;
/**
* @generated from protobuf field: api.DateTime RequestedShipDateTime = 3 [json_name = "RequestedShipDateTime"];
* @generated from protobuf field: api.DateTime RequestedShipDateTime = 3
*/
RequestedShipDateTime?: DateTime;
}
@@ -67,21 +67,21 @@ export interface OrderRequestedMilestones {
*/
export interface OrderLine {
/**
* @generated from protobuf field: string LineID = 1 [json_name = "LineID"];
* @generated from protobuf field: string LineID = 1
*/
LineID: string;
/**
* @generated from protobuf field: api.QuantifiedRequestedGoods RequestedContent = 2 [json_name = "RequestedContent"];
* @generated from protobuf field: api.QuantifiedRequestedGoods RequestedContent = 2
*/
RequestedContent?: QuantifiedRequestedGoods; // Option to prevent metadata definition in UI
/**
* 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[];
/**
* @generated from protobuf field: api.GoodsMetrics RequestedMetrics = 4 [json_name = "RequestedMetrics"];
* @generated from protobuf field: api.GoodsMetrics RequestedMetrics = 4
*/
RequestedMetrics?: GoodsMetrics;
}
@@ -94,11 +94,11 @@ export interface OrderLine {
*/
export interface ExeFlowLine {
/**
* @generated from protobuf field: string LineID = 1 [json_name = "LineID"];
* @generated from protobuf field: string LineID = 1
*/
LineID: string;
/**
* @generated from protobuf field: api.QuantifiedRequestedGoods RequestedContent = 2 [json_name = "RequestedContent"];
* @generated from protobuf field: api.QuantifiedRequestedGoods RequestedContent = 2
*/
RequestedContent?: QuantifiedRequestedGoods;
// TODO option to prevent metadata definition in UI
@@ -106,31 +106,31 @@ export interface ExeFlowLine {
/**
* 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[];
/**
* @generated from protobuf field: repeated api.QuantifiedGoodsByHU ShippedContents = 4 [json_name = "ShippedContents"];
* @generated from protobuf field: repeated api.QuantifiedGoodsByHU ShippedContents = 4
*/
ShippedContents: QuantifiedGoodsByHU[];
/**
* @generated from protobuf field: bool PreparedItemDiffersFromRequestedItem = 5 [json_name = "PreparedItemDiffersFromRequestedItem"];
* @generated from protobuf field: bool PreparedItemDiffersFromRequestedItem = 5
*/
PreparedItemDiffersFromRequestedItem: boolean; // This field will be computed at aggregation, not exposed through APIs
/**
* @generated from protobuf field: bool ReceivedItemDiffersFromRequestedItem = 6 [json_name = "ReceivedItemDiffersFromRequestedItem"];
* @generated from protobuf field: bool ReceivedItemDiffersFromRequestedItem = 6
*/
ReceivedItemDiffersFromRequestedItem: boolean; // This field will be computed at aggregation, not exposed through APIs
/**
* @generated from protobuf field: api.GoodsMetrics RequestedMetrics = 7 [json_name = "RequestedMetrics"];
* @generated from protobuf field: api.GoodsMetrics RequestedMetrics = 7
*/
RequestedMetrics?: GoodsMetrics;
/**
* @generated from protobuf field: api.GoodsMetrics TotalPreparedMetrics = 8 [json_name = "TotalPreparedMetrics"];
* @generated from protobuf field: api.GoodsMetrics TotalPreparedMetrics = 8
*/
TotalPreparedMetrics?: GoodsMetrics;
/**
* @generated from protobuf field: api.GoodsMetrics TotalReceivedMetrics = 9 [json_name = "TotalReceivedMetrics"];
* @generated from protobuf field: api.GoodsMetrics TotalReceivedMetrics = 9
*/
TotalReceivedMetrics?: GoodsMetrics;
// GoodsMetrics TotalNonPreparedMetrics = 10
@@ -143,7 +143,7 @@ export interface ExeFlowLine {
// ];
/**
* @generated from protobuf field: bool CreatedFromHU = 12 [json_name = "CreatedFromHU"];
* @generated from protobuf field: bool CreatedFromHU = 12
*/
CreatedFromHU: boolean;
}
@@ -152,23 +152,23 @@ export interface ExeFlowLine {
*/
export interface GoodsMetrics {
/**
* @generated from protobuf field: api.QuantityWeight GrossWeight = 1 [json_name = "GrossWeight"];
* @generated from protobuf field: api.QuantityWeight GrossWeight = 1
*/
GrossWeight?: QuantityWeight;
/**
* @generated from protobuf field: api.QuantityVolume Volume = 2 [json_name = "Volume"];
* @generated from protobuf field: api.QuantityVolume Volume = 2
*/
Volume?: QuantityVolume;
/**
* @generated from protobuf field: api.QuantityInLV QuantityInBaseLV = 3 [json_name = "QuantityInBaseLV"];
* @generated from protobuf field: api.QuantityInLV QuantityInBaseLV = 3
*/
QuantityInBaseLV?: QuantityInLV;
/**
* @generated from protobuf field: repeated api.QuantityByLV QuantityByLVs = 4 [json_name = "QuantityByLVs"];
* @generated from protobuf field: repeated api.QuantityByLV QuantityByLVs = 4
*/
QuantityByLVs: QuantityByLV[];
/**
* @generated from protobuf field: string LVDetailledQuantity = 5 [json_name = "LVDetailledQuantity"];
* @generated from protobuf field: string LVDetailledQuantity = 5
*/
LVDetailledQuantity: string;
}
@@ -187,25 +187,25 @@ export interface GoodsMetrics {
*/
export interface TradeTier {
/**
* @generated from protobuf field: string ActorID = 2 [json_name = "ActorID"];
* @generated from protobuf field: string ActorID = 2
*/
ActorID: string;
/**
* @generated from protobuf field: api.ActorPayload Actor = 4 [json_name = "Actor"];
* @generated from protobuf field: api.ActorPayload Actor = 4
*/
Actor?: ActorPayload;
/**
* @generated from protobuf field: api.Interlocutor Contact = 5 [json_name = "Contact"];
* @generated from protobuf field: api.Interlocutor Contact = 5
*/
Contact?: Interlocutor;
/**
* Must be an ID of an existing partner
*
* @generated from protobuf field: string PartnerID = 6 [json_name = "PartnerID"];
* @generated from protobuf field: string PartnerID = 6
*/
PartnerID: string;
/**
* @generated from protobuf field: api.PartnerPayload Partner = 7 [json_name = "Partner"];
* @generated from protobuf field: api.PartnerPayload Partner = 7
*/
Partner?: PartnerPayload;
}
@@ -217,19 +217,19 @@ export interface ETA {
* DateTime ETA = 1; // removed for 1.7
* DateTime WhenETAWasCalculated = 2; // removed for 1.7
*
* @generated from protobuf field: api.DateTime StartETA = 3 [json_name = "StartETA"];
* @generated from protobuf field: api.DateTime StartETA = 3
*/
StartETA?: DateTime;
/**
* @generated from protobuf field: api.DateTime EndETA = 4 [json_name = "EndETA"];
* @generated from protobuf field: api.DateTime EndETA = 4
*/
EndETA?: DateTime;
/**
* @generated from protobuf field: api.DateTime ActualDate = 5 [json_name = "ActualDate"];
* @generated from protobuf field: api.DateTime ActualDate = 5
*/
ActualDate?: DateTime;
/**
* @generated from protobuf field: string Comment = 6 [json_name = "Comment"];
* @generated from protobuf field: string Comment = 6
*/
Comment: string;
}
@@ -238,11 +238,11 @@ export interface ETA {
*/
export interface ETAbyHU {
/**
* @generated from protobuf field: string HandlingunitID = 1 [json_name = "HandlingunitID"];
* @generated from protobuf field: string HandlingunitID = 1
*/
HandlingunitID: string;
/**
* @generated from protobuf field: api.ETA ETA = 2 [json_name = "ETA"];
* @generated from protobuf field: api.ETA ETA = 2
*/
ETA?: ETA;
}
@@ -251,11 +251,11 @@ export interface ETAbyHU {
*/
export interface ETAbyExecutionflow {
/**
* @generated from protobuf field: string ExecutionflowID = 1 [json_name = "ExecutionflowID"];
* @generated from protobuf field: string ExecutionflowID = 1
*/
ExecutionflowID: string;
/**
* @generated from protobuf field: api.ETA ETA = 2 [json_name = "ETA"];
* @generated from protobuf field: api.ETA ETA = 2
*/
ETA?: ETA;
}
@@ -267,17 +267,17 @@ export interface ETAbyExecutionflow {
*/
export interface OrderStatus {
/**
* @generated from protobuf field: api.OrderStatusCode StatusCode = 1 [json_name = "StatusCode"];
* @generated from protobuf field: api.OrderStatusCode StatusCode = 1
*/
StatusCode: OrderStatusCode;
/**
* @generated from protobuf field: string Date = 2 [json_name = "Date"];
* @generated from protobuf field: string Date = 2
*/
Date: string;
/**
* Status effective date. Set by the event's RefDate that triggered the status change.
*
* @generated from protobuf field: api.DateTime ActualDate = 3 [json_name = "ActualDate"];
* @generated from protobuf field: api.DateTime ActualDate = 3
*/
ActualDate?: DateTime;
}
@@ -289,15 +289,15 @@ export interface OrderStatus {
*/
export interface OrderStatusStruct {
/**
* @generated from protobuf field: api.OrderStatus Current = 1 [json_name = "Current"];
* @generated from protobuf field: api.OrderStatus Current = 1
*/
Current?: OrderStatus; // Current status of the Order entity
/**
* @generated from protobuf field: repeated api.OrderStatus History = 2 [json_name = "History"];
* @generated from protobuf field: repeated api.OrderStatus History = 2
*/
History: OrderStatus[]; // List of all status history of the Order entity
/**
* @generated from protobuf field: string CreationDate = 3 [json_name = "CreationDate"];
* @generated from protobuf field: string CreationDate = 3
*/
CreationDate: string;
}
@@ -309,17 +309,17 @@ export interface OrderStatusStruct {
*/
export interface ExecutionflowStatus {
/**
* @generated from protobuf field: api.ExecutionflowStatusCode StatusCode = 1 [json_name = "StatusCode"];
* @generated from protobuf field: api.ExecutionflowStatusCode StatusCode = 1
*/
StatusCode: ExecutionflowStatusCode;
/**
* @generated from protobuf field: string Date = 2 [json_name = "Date"];
* @generated from protobuf field: string Date = 2
*/
Date: string;
/**
* Status effective date. Set by the event's RefDate that triggered the status change.
*
* @generated from protobuf field: api.DateTime ActualDate = 3 [json_name = "ActualDate"];
* @generated from protobuf field: api.DateTime ActualDate = 3
*/
ActualDate?: DateTime;
}
@@ -331,19 +331,19 @@ export interface ExecutionflowStatus {
*/
export interface ExecutionflowStatusStruct {
/**
* @generated from protobuf field: api.ExecutionflowStatus Current = 1 [json_name = "Current"];
* @generated from protobuf field: api.ExecutionflowStatus Current = 1
*/
Current?: ExecutionflowStatus; // Current status of the Executionflow entity
/**
* @generated from protobuf field: repeated api.ExecutionflowStatus History = 2 [json_name = "History"];
* @generated from protobuf field: repeated api.ExecutionflowStatus History = 2
*/
History: ExecutionflowStatus[]; // List of all status history of the Executionflow entity
/**
* @generated from protobuf field: uint32 Version = 3 [json_name = "Version"];
* @generated from protobuf field: uint32 Version = 3
*/
Version: number;
/**
* @generated from protobuf field: string CreationDate = 4 [json_name = "CreationDate"];
* @generated from protobuf field: string CreationDate = 4
*/
CreationDate: string;
}
@@ -352,43 +352,43 @@ export interface ExecutionflowStatusStruct {
*/
export interface ExecutionflowSummary {
/**
* @generated from protobuf field: string ExecutionflowID = 1 [json_name = "ExecutionflowID"];
* @generated from protobuf field: string ExecutionflowID = 1
*/
ExecutionflowID: string;
/**
* @generated from protobuf field: api.ExecutionflowStatus Status = 2 [json_name = "Status"];
* @generated from protobuf field: api.ExecutionflowStatus Status = 2
*/
Status?: ExecutionflowStatus;
/**
* Where to ship the executionflow from
*
* @generated from protobuf field: api.TradeTier ShipFrom = 7 [json_name = "ShipFrom"];
* @generated from protobuf field: api.TradeTier ShipFrom = 7
*/
ShipFrom?: TradeTier;
/**
* Where to ship the executionflow to
*
* @generated from protobuf field: api.TradeTier ShipTo = 8 [json_name = "ShipTo"];
* @generated from protobuf field: api.TradeTier ShipTo = 8
*/
ShipTo?: TradeTier;
/**
* @generated from protobuf field: api.TradeTier Carrier = 6 [json_name = "Carrier"];
* @generated from protobuf field: api.TradeTier Carrier = 6
*/
Carrier?: TradeTier;
/**
* @generated from protobuf field: repeated api.AttachmentSummary Attachments = 18 [json_name = "Attachments"];
* @generated from protobuf field: repeated api.AttachmentSummary Attachments = 18
*/
Attachments: AttachmentSummary[];
/**
* @generated from protobuf field: int32 AttachmentNumber = 19 [json_name = "AttachmentNumber"];
* @generated from protobuf field: int32 AttachmentNumber = 19
*/
AttachmentNumber: number;
/**
* @generated from protobuf field: repeated api.ClaimSummary Claims = 20 [json_name = "Claims"];
* @generated from protobuf field: repeated api.ClaimSummary Claims = 20
*/
Claims: ClaimSummary[];
/**
* @generated from protobuf field: int32 ClaimNumber = 21 [json_name = "ClaimNumber"];
* @generated from protobuf field: int32 ClaimNumber = 21
*/
ClaimNumber: number;
}
@@ -400,7 +400,7 @@ export interface ExecutionflowSummary {
*/
export interface ExecutionGraph {
/**
* @generated from protobuf field: repeated string ParcelIDs = 1 [json_name = "ParcelIDs"];
* @generated from protobuf field: repeated string ParcelIDs = 1
*/
ParcelIDs: string[];
}
@@ -611,10 +611,10 @@ class ReferencedID$Type extends MessageType<ReferencedID> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string RefID = 1 [json_name = "RefID"];*/ 1:
case /* string RefID */ 1:
message.RefID = reader.string();
break;
case /* string Reason = 2 [json_name = "Reason"];*/ 2:
case /* string Reason */ 2:
message.Reason = reader.string();
break;
default:
@@ -629,10 +629,10 @@ class ReferencedID$Type extends MessageType<ReferencedID> {
return message;
}
internalBinaryWrite(message: ReferencedID, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string RefID = 1 [json_name = "RefID"]; */
/* string RefID = 1; */
if (message.RefID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.RefID);
/* string Reason = 2 [json_name = "Reason"]; */
/* string Reason = 2; */
if (message.Reason !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Reason);
let u = options.writeUnknownFields;
@@ -665,13 +665,13 @@ class OrderRequestedMilestones$Type extends MessageType<OrderRequestedMilestones
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.DateTime RequestedDeliveryDateTime = 1 [json_name = "RequestedDeliveryDateTime"];*/ 1:
case /* api.DateTime RequestedDeliveryDateTime */ 1:
message.RequestedDeliveryDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.RequestedDeliveryDateTime);
break;
case /* api.DateTime RequestedPickUpDateTime = 2 [json_name = "RequestedPickUpDateTime"];*/ 2:
case /* api.DateTime RequestedPickUpDateTime */ 2:
message.RequestedPickUpDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.RequestedPickUpDateTime);
break;
case /* api.DateTime RequestedShipDateTime = 3 [json_name = "RequestedShipDateTime"];*/ 3:
case /* api.DateTime RequestedShipDateTime */ 3:
message.RequestedShipDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.RequestedShipDateTime);
break;
default:
@@ -686,13 +686,13 @@ class OrderRequestedMilestones$Type extends MessageType<OrderRequestedMilestones
return message;
}
internalBinaryWrite(message: OrderRequestedMilestones, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.DateTime RequestedDeliveryDateTime = 1 [json_name = "RequestedDeliveryDateTime"]; */
/* api.DateTime RequestedDeliveryDateTime = 1; */
if (message.RequestedDeliveryDateTime)
DateTime.internalBinaryWrite(message.RequestedDeliveryDateTime, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* api.DateTime RequestedPickUpDateTime = 2 [json_name = "RequestedPickUpDateTime"]; */
/* api.DateTime RequestedPickUpDateTime = 2; */
if (message.RequestedPickUpDateTime)
DateTime.internalBinaryWrite(message.RequestedPickUpDateTime, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.DateTime RequestedShipDateTime = 3 [json_name = "RequestedShipDateTime"]; */
/* api.DateTime RequestedShipDateTime = 3; */
if (message.RequestedShipDateTime)
DateTime.internalBinaryWrite(message.RequestedShipDateTime, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -728,16 +728,16 @@ class OrderLine$Type extends MessageType<OrderLine> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string LineID = 1 [json_name = "LineID"];*/ 1:
case /* string LineID */ 1:
message.LineID = reader.string();
break;
case /* api.QuantifiedRequestedGoods RequestedContent = 2 [json_name = "RequestedContent"];*/ 2:
case /* api.QuantifiedRequestedGoods RequestedContent */ 2:
message.RequestedContent = QuantifiedRequestedGoods.internalBinaryRead(reader, reader.uint32(), options, message.RequestedContent);
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.GoodsMetrics RequestedMetrics = 4 [json_name = "RequestedMetrics"];*/ 4:
case /* api.GoodsMetrics RequestedMetrics */ 4:
message.RequestedMetrics = GoodsMetrics.internalBinaryRead(reader, reader.uint32(), options, message.RequestedMetrics);
break;
default:
@@ -752,16 +752,16 @@ class OrderLine$Type extends MessageType<OrderLine> {
return message;
}
internalBinaryWrite(message: OrderLine, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string LineID = 1 [json_name = "LineID"]; */
/* string LineID = 1; */
if (message.LineID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.LineID);
/* api.QuantifiedRequestedGoods RequestedContent = 2 [json_name = "RequestedContent"]; */
/* api.QuantifiedRequestedGoods RequestedContent = 2; */
if (message.RequestedContent)
QuantifiedRequestedGoods.internalBinaryWrite(message.RequestedContent, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* 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.GoodsMetrics RequestedMetrics = 4 [json_name = "RequestedMetrics"]; */
/* api.GoodsMetrics RequestedMetrics = 4; */
if (message.RequestedMetrics)
GoodsMetrics.internalBinaryWrite(message.RequestedMetrics, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -807,34 +807,34 @@ class ExeFlowLine$Type extends MessageType<ExeFlowLine> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string LineID = 1 [json_name = "LineID"];*/ 1:
case /* string LineID */ 1:
message.LineID = reader.string();
break;
case /* api.QuantifiedRequestedGoods RequestedContent = 2 [json_name = "RequestedContent"];*/ 2:
case /* api.QuantifiedRequestedGoods RequestedContent */ 2:
message.RequestedContent = QuantifiedRequestedGoods.internalBinaryRead(reader, reader.uint32(), options, message.RequestedContent);
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 /* repeated api.QuantifiedGoodsByHU ShippedContents = 4 [json_name = "ShippedContents"];*/ 4:
case /* repeated api.QuantifiedGoodsByHU ShippedContents */ 4:
message.ShippedContents.push(QuantifiedGoodsByHU.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* bool PreparedItemDiffersFromRequestedItem = 5 [json_name = "PreparedItemDiffersFromRequestedItem"];*/ 5:
case /* bool PreparedItemDiffersFromRequestedItem */ 5:
message.PreparedItemDiffersFromRequestedItem = reader.bool();
break;
case /* bool ReceivedItemDiffersFromRequestedItem = 6 [json_name = "ReceivedItemDiffersFromRequestedItem"];*/ 6:
case /* bool ReceivedItemDiffersFromRequestedItem */ 6:
message.ReceivedItemDiffersFromRequestedItem = reader.bool();
break;
case /* api.GoodsMetrics RequestedMetrics = 7 [json_name = "RequestedMetrics"];*/ 7:
case /* api.GoodsMetrics RequestedMetrics */ 7:
message.RequestedMetrics = GoodsMetrics.internalBinaryRead(reader, reader.uint32(), options, message.RequestedMetrics);
break;
case /* api.GoodsMetrics TotalPreparedMetrics = 8 [json_name = "TotalPreparedMetrics"];*/ 8:
case /* api.GoodsMetrics TotalPreparedMetrics */ 8:
message.TotalPreparedMetrics = GoodsMetrics.internalBinaryRead(reader, reader.uint32(), options, message.TotalPreparedMetrics);
break;
case /* api.GoodsMetrics TotalReceivedMetrics = 9 [json_name = "TotalReceivedMetrics"];*/ 9:
case /* api.GoodsMetrics TotalReceivedMetrics */ 9:
message.TotalReceivedMetrics = GoodsMetrics.internalBinaryRead(reader, reader.uint32(), options, message.TotalReceivedMetrics);
break;
case /* bool CreatedFromHU = 12 [json_name = "CreatedFromHU"];*/ 12:
case /* bool CreatedFromHU */ 12:
message.CreatedFromHU = reader.bool();
break;
default:
@@ -849,34 +849,34 @@ class ExeFlowLine$Type extends MessageType<ExeFlowLine> {
return message;
}
internalBinaryWrite(message: ExeFlowLine, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string LineID = 1 [json_name = "LineID"]; */
/* string LineID = 1; */
if (message.LineID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.LineID);
/* api.QuantifiedRequestedGoods RequestedContent = 2 [json_name = "RequestedContent"]; */
/* api.QuantifiedRequestedGoods RequestedContent = 2; */
if (message.RequestedContent)
QuantifiedRequestedGoods.internalBinaryWrite(message.RequestedContent, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* 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();
/* repeated api.QuantifiedGoodsByHU ShippedContents = 4 [json_name = "ShippedContents"]; */
/* repeated api.QuantifiedGoodsByHU ShippedContents = 4; */
for (let i = 0; i < message.ShippedContents.length; i++)
QuantifiedGoodsByHU.internalBinaryWrite(message.ShippedContents[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* bool PreparedItemDiffersFromRequestedItem = 5 [json_name = "PreparedItemDiffersFromRequestedItem"]; */
/* bool PreparedItemDiffersFromRequestedItem = 5; */
if (message.PreparedItemDiffersFromRequestedItem !== false)
writer.tag(5, WireType.Varint).bool(message.PreparedItemDiffersFromRequestedItem);
/* bool ReceivedItemDiffersFromRequestedItem = 6 [json_name = "ReceivedItemDiffersFromRequestedItem"]; */
/* bool ReceivedItemDiffersFromRequestedItem = 6; */
if (message.ReceivedItemDiffersFromRequestedItem !== false)
writer.tag(6, WireType.Varint).bool(message.ReceivedItemDiffersFromRequestedItem);
/* api.GoodsMetrics RequestedMetrics = 7 [json_name = "RequestedMetrics"]; */
/* api.GoodsMetrics RequestedMetrics = 7; */
if (message.RequestedMetrics)
GoodsMetrics.internalBinaryWrite(message.RequestedMetrics, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
/* api.GoodsMetrics TotalPreparedMetrics = 8 [json_name = "TotalPreparedMetrics"]; */
/* api.GoodsMetrics TotalPreparedMetrics = 8; */
if (message.TotalPreparedMetrics)
GoodsMetrics.internalBinaryWrite(message.TotalPreparedMetrics, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
/* api.GoodsMetrics TotalReceivedMetrics = 9 [json_name = "TotalReceivedMetrics"]; */
/* api.GoodsMetrics TotalReceivedMetrics = 9; */
if (message.TotalReceivedMetrics)
GoodsMetrics.internalBinaryWrite(message.TotalReceivedMetrics, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
/* bool CreatedFromHU = 12 [json_name = "CreatedFromHU"]; */
/* bool CreatedFromHU = 12; */
if (message.CreatedFromHU !== false)
writer.tag(12, WireType.Varint).bool(message.CreatedFromHU);
let u = options.writeUnknownFields;
@@ -913,19 +913,19 @@ class GoodsMetrics$Type extends MessageType<GoodsMetrics> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.QuantityWeight GrossWeight = 1 [json_name = "GrossWeight"];*/ 1:
case /* api.QuantityWeight GrossWeight */ 1:
message.GrossWeight = QuantityWeight.internalBinaryRead(reader, reader.uint32(), options, message.GrossWeight);
break;
case /* api.QuantityVolume Volume = 2 [json_name = "Volume"];*/ 2:
case /* api.QuantityVolume Volume */ 2:
message.Volume = QuantityVolume.internalBinaryRead(reader, reader.uint32(), options, message.Volume);
break;
case /* api.QuantityInLV QuantityInBaseLV = 3 [json_name = "QuantityInBaseLV"];*/ 3:
case /* api.QuantityInLV QuantityInBaseLV */ 3:
message.QuantityInBaseLV = QuantityInLV.internalBinaryRead(reader, reader.uint32(), options, message.QuantityInBaseLV);
break;
case /* repeated api.QuantityByLV QuantityByLVs = 4 [json_name = "QuantityByLVs"];*/ 4:
case /* repeated api.QuantityByLV QuantityByLVs */ 4:
message.QuantityByLVs.push(QuantityByLV.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* string LVDetailledQuantity = 5 [json_name = "LVDetailledQuantity"];*/ 5:
case /* string LVDetailledQuantity */ 5:
message.LVDetailledQuantity = reader.string();
break;
default:
@@ -940,19 +940,19 @@ class GoodsMetrics$Type extends MessageType<GoodsMetrics> {
return message;
}
internalBinaryWrite(message: GoodsMetrics, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.QuantityWeight GrossWeight = 1 [json_name = "GrossWeight"]; */
/* api.QuantityWeight GrossWeight = 1; */
if (message.GrossWeight)
QuantityWeight.internalBinaryWrite(message.GrossWeight, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* api.QuantityVolume Volume = 2 [json_name = "Volume"]; */
/* api.QuantityVolume Volume = 2; */
if (message.Volume)
QuantityVolume.internalBinaryWrite(message.Volume, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.QuantityInLV QuantityInBaseLV = 3 [json_name = "QuantityInBaseLV"]; */
/* api.QuantityInLV QuantityInBaseLV = 3; */
if (message.QuantityInBaseLV)
QuantityInLV.internalBinaryWrite(message.QuantityInBaseLV, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* repeated api.QuantityByLV QuantityByLVs = 4 [json_name = "QuantityByLVs"]; */
/* repeated api.QuantityByLV QuantityByLVs = 4; */
for (let i = 0; i < message.QuantityByLVs.length; i++)
QuantityByLV.internalBinaryWrite(message.QuantityByLVs[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* string LVDetailledQuantity = 5 [json_name = "LVDetailledQuantity"]; */
/* string LVDetailledQuantity = 5; */
if (message.LVDetailledQuantity !== "")
writer.tag(5, WireType.LengthDelimited).string(message.LVDetailledQuantity);
let u = options.writeUnknownFields;
@@ -989,19 +989,19 @@ class TradeTier$Type extends MessageType<TradeTier> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ActorID = 2 [json_name = "ActorID"];*/ 2:
case /* string ActorID */ 2:
message.ActorID = reader.string();
break;
case /* api.ActorPayload Actor = 4 [json_name = "Actor"];*/ 4:
case /* api.ActorPayload Actor */ 4:
message.Actor = ActorPayload.internalBinaryRead(reader, reader.uint32(), options, message.Actor);
break;
case /* api.Interlocutor Contact = 5 [json_name = "Contact"];*/ 5:
case /* api.Interlocutor Contact */ 5:
message.Contact = Interlocutor.internalBinaryRead(reader, reader.uint32(), options, message.Contact);
break;
case /* string PartnerID = 6 [json_name = "PartnerID"];*/ 6:
case /* string PartnerID */ 6:
message.PartnerID = reader.string();
break;
case /* api.PartnerPayload Partner = 7 [json_name = "Partner"];*/ 7:
case /* api.PartnerPayload Partner */ 7:
message.Partner = PartnerPayload.internalBinaryRead(reader, reader.uint32(), options, message.Partner);
break;
default:
@@ -1016,19 +1016,19 @@ class TradeTier$Type extends MessageType<TradeTier> {
return message;
}
internalBinaryWrite(message: TradeTier, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ActorID = 2 [json_name = "ActorID"]; */
/* string ActorID = 2; */
if (message.ActorID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.ActorID);
/* api.ActorPayload Actor = 4 [json_name = "Actor"]; */
/* api.ActorPayload Actor = 4; */
if (message.Actor)
ActorPayload.internalBinaryWrite(message.Actor, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* api.Interlocutor Contact = 5 [json_name = "Contact"]; */
/* api.Interlocutor Contact = 5; */
if (message.Contact)
Interlocutor.internalBinaryWrite(message.Contact, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
/* string PartnerID = 6 [json_name = "PartnerID"]; */
/* string PartnerID = 6; */
if (message.PartnerID !== "")
writer.tag(6, WireType.LengthDelimited).string(message.PartnerID);
/* api.PartnerPayload Partner = 7 [json_name = "Partner"]; */
/* api.PartnerPayload Partner = 7; */
if (message.Partner)
PartnerPayload.internalBinaryWrite(message.Partner, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -1063,16 +1063,16 @@ class ETA$Type extends MessageType<ETA> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.DateTime StartETA = 3 [json_name = "StartETA"];*/ 3:
case /* api.DateTime StartETA */ 3:
message.StartETA = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.StartETA);
break;
case /* api.DateTime EndETA = 4 [json_name = "EndETA"];*/ 4:
case /* api.DateTime EndETA */ 4:
message.EndETA = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.EndETA);
break;
case /* api.DateTime ActualDate = 5 [json_name = "ActualDate"];*/ 5:
case /* api.DateTime ActualDate */ 5:
message.ActualDate = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.ActualDate);
break;
case /* string Comment = 6 [json_name = "Comment"];*/ 6:
case /* string Comment */ 6:
message.Comment = reader.string();
break;
default:
@@ -1087,16 +1087,16 @@ class ETA$Type extends MessageType<ETA> {
return message;
}
internalBinaryWrite(message: ETA, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.DateTime StartETA = 3 [json_name = "StartETA"]; */
/* api.DateTime StartETA = 3; */
if (message.StartETA)
DateTime.internalBinaryWrite(message.StartETA, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* api.DateTime EndETA = 4 [json_name = "EndETA"]; */
/* api.DateTime EndETA = 4; */
if (message.EndETA)
DateTime.internalBinaryWrite(message.EndETA, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* api.DateTime ActualDate = 5 [json_name = "ActualDate"]; */
/* api.DateTime ActualDate = 5; */
if (message.ActualDate)
DateTime.internalBinaryWrite(message.ActualDate, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
/* string Comment = 6 [json_name = "Comment"]; */
/* string Comment = 6; */
if (message.Comment !== "")
writer.tag(6, WireType.LengthDelimited).string(message.Comment);
let u = options.writeUnknownFields;
@@ -1129,10 +1129,10 @@ class ETAbyHU$Type extends MessageType<ETAbyHU> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string HandlingunitID = 1 [json_name = "HandlingunitID"];*/ 1:
case /* string HandlingunitID */ 1:
message.HandlingunitID = reader.string();
break;
case /* api.ETA ETA = 2 [json_name = "ETA"];*/ 2:
case /* api.ETA ETA */ 2:
message.ETA = ETA.internalBinaryRead(reader, reader.uint32(), options, message.ETA);
break;
default:
@@ -1147,10 +1147,10 @@ class ETAbyHU$Type extends MessageType<ETAbyHU> {
return message;
}
internalBinaryWrite(message: ETAbyHU, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string HandlingunitID = 1 [json_name = "HandlingunitID"]; */
/* string HandlingunitID = 1; */
if (message.HandlingunitID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.HandlingunitID);
/* api.ETA ETA = 2 [json_name = "ETA"]; */
/* api.ETA ETA = 2; */
if (message.ETA)
ETA.internalBinaryWrite(message.ETA, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -1183,10 +1183,10 @@ class ETAbyExecutionflow$Type extends MessageType<ETAbyExecutionflow> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ExecutionflowID = 1 [json_name = "ExecutionflowID"];*/ 1:
case /* string ExecutionflowID */ 1:
message.ExecutionflowID = reader.string();
break;
case /* api.ETA ETA = 2 [json_name = "ETA"];*/ 2:
case /* api.ETA ETA */ 2:
message.ETA = ETA.internalBinaryRead(reader, reader.uint32(), options, message.ETA);
break;
default:
@@ -1201,10 +1201,10 @@ class ETAbyExecutionflow$Type extends MessageType<ETAbyExecutionflow> {
return message;
}
internalBinaryWrite(message: ETAbyExecutionflow, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ExecutionflowID = 1 [json_name = "ExecutionflowID"]; */
/* string ExecutionflowID = 1; */
if (message.ExecutionflowID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ExecutionflowID);
/* api.ETA ETA = 2 [json_name = "ETA"]; */
/* api.ETA ETA = 2; */
if (message.ETA)
ETA.internalBinaryWrite(message.ETA, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -1239,13 +1239,13 @@ class OrderStatus$Type extends MessageType<OrderStatus> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.OrderStatusCode StatusCode = 1 [json_name = "StatusCode"];*/ 1:
case /* api.OrderStatusCode StatusCode */ 1:
message.StatusCode = reader.int32();
break;
case /* string Date = 2 [json_name = "Date"];*/ 2:
case /* string Date */ 2:
message.Date = reader.string();
break;
case /* api.DateTime ActualDate = 3 [json_name = "ActualDate"];*/ 3:
case /* api.DateTime ActualDate */ 3:
message.ActualDate = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.ActualDate);
break;
default:
@@ -1260,13 +1260,13 @@ class OrderStatus$Type extends MessageType<OrderStatus> {
return message;
}
internalBinaryWrite(message: OrderStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.OrderStatusCode StatusCode = 1 [json_name = "StatusCode"]; */
/* api.OrderStatusCode StatusCode = 1; */
if (message.StatusCode !== 0)
writer.tag(1, WireType.Varint).int32(message.StatusCode);
/* string Date = 2 [json_name = "Date"]; */
/* string Date = 2; */
if (message.Date !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Date);
/* api.DateTime ActualDate = 3 [json_name = "ActualDate"]; */
/* api.DateTime ActualDate = 3; */
if (message.ActualDate)
DateTime.internalBinaryWrite(message.ActualDate, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -1301,13 +1301,13 @@ class OrderStatusStruct$Type extends MessageType<OrderStatusStruct> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.OrderStatus Current = 1 [json_name = "Current"];*/ 1:
case /* api.OrderStatus Current */ 1:
message.Current = OrderStatus.internalBinaryRead(reader, reader.uint32(), options, message.Current);
break;
case /* repeated api.OrderStatus History = 2 [json_name = "History"];*/ 2:
case /* repeated api.OrderStatus History */ 2:
message.History.push(OrderStatus.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* string CreationDate = 3 [json_name = "CreationDate"];*/ 3:
case /* string CreationDate */ 3:
message.CreationDate = reader.string();
break;
default:
@@ -1322,13 +1322,13 @@ class OrderStatusStruct$Type extends MessageType<OrderStatusStruct> {
return message;
}
internalBinaryWrite(message: OrderStatusStruct, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.OrderStatus Current = 1 [json_name = "Current"]; */
/* api.OrderStatus Current = 1; */
if (message.Current)
OrderStatus.internalBinaryWrite(message.Current, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* repeated api.OrderStatus History = 2 [json_name = "History"]; */
/* repeated api.OrderStatus History = 2; */
for (let i = 0; i < message.History.length; i++)
OrderStatus.internalBinaryWrite(message.History[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* string CreationDate = 3 [json_name = "CreationDate"]; */
/* string CreationDate = 3; */
if (message.CreationDate !== "")
writer.tag(3, WireType.LengthDelimited).string(message.CreationDate);
let u = options.writeUnknownFields;
@@ -1363,13 +1363,13 @@ class ExecutionflowStatus$Type extends MessageType<ExecutionflowStatus> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.ExecutionflowStatusCode StatusCode = 1 [json_name = "StatusCode"];*/ 1:
case /* api.ExecutionflowStatusCode StatusCode */ 1:
message.StatusCode = reader.int32();
break;
case /* string Date = 2 [json_name = "Date"];*/ 2:
case /* string Date */ 2:
message.Date = reader.string();
break;
case /* api.DateTime ActualDate = 3 [json_name = "ActualDate"];*/ 3:
case /* api.DateTime ActualDate */ 3:
message.ActualDate = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.ActualDate);
break;
default:
@@ -1384,13 +1384,13 @@ class ExecutionflowStatus$Type extends MessageType<ExecutionflowStatus> {
return message;
}
internalBinaryWrite(message: ExecutionflowStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.ExecutionflowStatusCode StatusCode = 1 [json_name = "StatusCode"]; */
/* api.ExecutionflowStatusCode StatusCode = 1; */
if (message.StatusCode !== 0)
writer.tag(1, WireType.Varint).int32(message.StatusCode);
/* string Date = 2 [json_name = "Date"]; */
/* string Date = 2; */
if (message.Date !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Date);
/* api.DateTime ActualDate = 3 [json_name = "ActualDate"]; */
/* api.DateTime ActualDate = 3; */
if (message.ActualDate)
DateTime.internalBinaryWrite(message.ActualDate, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -1427,16 +1427,16 @@ class ExecutionflowStatusStruct$Type extends MessageType<ExecutionflowStatusStru
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.ExecutionflowStatus Current = 1 [json_name = "Current"];*/ 1:
case /* api.ExecutionflowStatus Current */ 1:
message.Current = ExecutionflowStatus.internalBinaryRead(reader, reader.uint32(), options, message.Current);
break;
case /* repeated api.ExecutionflowStatus History = 2 [json_name = "History"];*/ 2:
case /* repeated api.ExecutionflowStatus History */ 2:
message.History.push(ExecutionflowStatus.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* uint32 Version = 3 [json_name = "Version"];*/ 3:
case /* uint32 Version */ 3:
message.Version = reader.uint32();
break;
case /* string CreationDate = 4 [json_name = "CreationDate"];*/ 4:
case /* string CreationDate */ 4:
message.CreationDate = reader.string();
break;
default:
@@ -1451,16 +1451,16 @@ class ExecutionflowStatusStruct$Type extends MessageType<ExecutionflowStatusStru
return message;
}
internalBinaryWrite(message: ExecutionflowStatusStruct, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.ExecutionflowStatus Current = 1 [json_name = "Current"]; */
/* api.ExecutionflowStatus Current = 1; */
if (message.Current)
ExecutionflowStatus.internalBinaryWrite(message.Current, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* repeated api.ExecutionflowStatus History = 2 [json_name = "History"]; */
/* repeated api.ExecutionflowStatus History = 2; */
for (let i = 0; i < message.History.length; i++)
ExecutionflowStatus.internalBinaryWrite(message.History[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* uint32 Version = 3 [json_name = "Version"]; */
/* uint32 Version = 3; */
if (message.Version !== 0)
writer.tag(3, WireType.Varint).uint32(message.Version);
/* string CreationDate = 4 [json_name = "CreationDate"]; */
/* string CreationDate = 4; */
if (message.CreationDate !== "")
writer.tag(4, WireType.LengthDelimited).string(message.CreationDate);
let u = options.writeUnknownFields;
@@ -1504,31 +1504,31 @@ class ExecutionflowSummary$Type extends MessageType<ExecutionflowSummary> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ExecutionflowID = 1 [json_name = "ExecutionflowID"];*/ 1:
case /* string ExecutionflowID */ 1:
message.ExecutionflowID = reader.string();
break;
case /* api.ExecutionflowStatus Status = 2 [json_name = "Status"];*/ 2:
case /* api.ExecutionflowStatus Status */ 2:
message.Status = ExecutionflowStatus.internalBinaryRead(reader, reader.uint32(), options, message.Status);
break;
case /* api.TradeTier ShipFrom = 7 [json_name = "ShipFrom"];*/ 7:
case /* api.TradeTier ShipFrom */ 7:
message.ShipFrom = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.ShipFrom);
break;
case /* api.TradeTier ShipTo = 8 [json_name = "ShipTo"];*/ 8:
case /* api.TradeTier ShipTo */ 8:
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 /* repeated api.AttachmentSummary Attachments = 18 [json_name = "Attachments"];*/ 18:
case /* repeated api.AttachmentSummary Attachments */ 18:
message.Attachments.push(AttachmentSummary.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* int32 AttachmentNumber = 19 [json_name = "AttachmentNumber"];*/ 19:
case /* int32 AttachmentNumber */ 19:
message.AttachmentNumber = reader.int32();
break;
case /* repeated api.ClaimSummary Claims = 20 [json_name = "Claims"];*/ 20:
case /* repeated api.ClaimSummary Claims */ 20:
message.Claims.push(ClaimSummary.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* int32 ClaimNumber = 21 [json_name = "ClaimNumber"];*/ 21:
case /* int32 ClaimNumber */ 21:
message.ClaimNumber = reader.int32();
break;
default:
@@ -1543,31 +1543,31 @@ class ExecutionflowSummary$Type extends MessageType<ExecutionflowSummary> {
return message;
}
internalBinaryWrite(message: ExecutionflowSummary, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ExecutionflowID = 1 [json_name = "ExecutionflowID"]; */
/* string ExecutionflowID = 1; */
if (message.ExecutionflowID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ExecutionflowID);
/* api.ExecutionflowStatus Status = 2 [json_name = "Status"]; */
/* api.ExecutionflowStatus Status = 2; */
if (message.Status)
ExecutionflowStatus.internalBinaryWrite(message.Status, writer.tag(2, 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();
/* api.TradeTier ShipFrom = 7 [json_name = "ShipFrom"]; */
/* api.TradeTier ShipFrom = 7; */
if (message.ShipFrom)
TradeTier.internalBinaryWrite(message.ShipFrom, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
/* api.TradeTier ShipTo = 8 [json_name = "ShipTo"]; */
/* api.TradeTier ShipTo = 8; */
if (message.ShipTo)
TradeTier.internalBinaryWrite(message.ShipTo, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
/* repeated api.AttachmentSummary Attachments = 18 [json_name = "Attachments"]; */
/* repeated api.AttachmentSummary Attachments = 18; */
for (let i = 0; i < message.Attachments.length; i++)
AttachmentSummary.internalBinaryWrite(message.Attachments[i], writer.tag(18, WireType.LengthDelimited).fork(), options).join();
/* int32 AttachmentNumber = 19 [json_name = "AttachmentNumber"]; */
/* int32 AttachmentNumber = 19; */
if (message.AttachmentNumber !== 0)
writer.tag(19, WireType.Varint).int32(message.AttachmentNumber);
/* repeated api.ClaimSummary Claims = 20 [json_name = "Claims"]; */
/* repeated api.ClaimSummary Claims = 20; */
for (let i = 0; i < message.Claims.length; i++)
ClaimSummary.internalBinaryWrite(message.Claims[i], writer.tag(20, WireType.LengthDelimited).fork(), options).join();
/* int32 ClaimNumber = 21 [json_name = "ClaimNumber"]; */
/* int32 ClaimNumber = 21; */
if (message.ClaimNumber !== 0)
writer.tag(21, WireType.Varint).int32(message.ClaimNumber);
let u = options.writeUnknownFields;
@@ -1599,7 +1599,7 @@ class ExecutionGraph$Type extends MessageType<ExecutionGraph> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated string ParcelIDs = 1 [json_name = "ParcelIDs"];*/ 1:
case /* repeated string ParcelIDs */ 1:
message.ParcelIDs.push(reader.string());
break;
default:
@@ -1614,7 +1614,7 @@ class ExecutionGraph$Type extends MessageType<ExecutionGraph> {
return message;
}
internalBinaryWrite(message: ExecutionGraph, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated string ParcelIDs = 1 [json_name = "ParcelIDs"]; */
/* repeated string ParcelIDs = 1; */
for (let i = 0; i < message.ParcelIDs.length; i++)
writer.tag(1, WireType.LengthDelimited).string(message.ParcelIDs[i]);
let u = options.writeUnknownFields;