You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -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 "executionflowAction.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
||||
@@ -37,43 +37,43 @@ import { ExecutionflowStatusStruct } from "./tradeShared";
|
||||
*/
|
||||
export interface ExecutionflowMapSummaryToOrderPayload {
|
||||
/**
|
||||
* @generated from protobuf field: api.ExecutionflowStatusStruct Status = 1 [json_name = "Status"];
|
||||
* @generated from protobuf field: api.ExecutionflowStatusStruct Status = 1
|
||||
*/
|
||||
Status?: ExecutionflowStatusStruct;
|
||||
/**
|
||||
* @generated from protobuf field: string OrderID = 2 [json_name = "OrderID"];
|
||||
* @generated from protobuf field: string OrderID = 2
|
||||
*/
|
||||
OrderID: string;
|
||||
/**
|
||||
* @generated from protobuf field: api.TradeTier ShipFrom = 4 [json_name = "ShipFrom"];
|
||||
* @generated from protobuf field: api.TradeTier ShipFrom = 4
|
||||
*/
|
||||
ShipFrom?: TradeTier;
|
||||
/**
|
||||
* @generated from protobuf field: api.TradeTier ShipTo = 5 [json_name = "ShipTo"];
|
||||
* @generated from protobuf field: api.TradeTier ShipTo = 5
|
||||
*/
|
||||
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: string CarrierService = 7 [json_name = "CarrierService"];
|
||||
* @generated from protobuf field: string CarrierService = 7
|
||||
*/
|
||||
CarrierService: string;
|
||||
/**
|
||||
* @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;
|
||||
}
|
||||
@@ -82,23 +82,23 @@ export interface ExecutionflowMapSummaryToOrderPayload {
|
||||
*/
|
||||
export interface ExecutionflowMapSummaryToOrder {
|
||||
/**
|
||||
* @generated from protobuf field: api.CommandHeader Header = 1 [json_name = "Header"];
|
||||
* @generated from protobuf field: api.CommandHeader Header = 1
|
||||
*/
|
||||
Header?: CommandHeader;
|
||||
/**
|
||||
* @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.ExecutionflowMapSummaryToOrderPayload Payload = 3 [json_name = "Payload"];
|
||||
* @generated from protobuf field: api.ExecutionflowMapSummaryToOrderPayload Payload = 3
|
||||
*/
|
||||
Payload?: ExecutionflowMapSummaryToOrderPayload;
|
||||
/**
|
||||
* @generated from protobuf field: api.ExecutionflowMapSummaryToOrderPayload EventPayload = 4 [json_name = "EventPayload"];
|
||||
* @generated from protobuf field: api.ExecutionflowMapSummaryToOrderPayload EventPayload = 4
|
||||
*/
|
||||
EventPayload?: ExecutionflowMapSummaryToOrderPayload;
|
||||
/**
|
||||
* @generated from protobuf field: api.ExecutionflowMapSummaryToOrderPayload PreviousPayload = 5 [json_name = "PreviousPayload"];
|
||||
* @generated from protobuf field: api.ExecutionflowMapSummaryToOrderPayload PreviousPayload = 5
|
||||
*/
|
||||
PreviousPayload?: ExecutionflowMapSummaryToOrderPayload;
|
||||
}
|
||||
@@ -110,11 +110,11 @@ export interface ExecutionflowMapSummaryToOrder {
|
||||
*/
|
||||
export interface ExecutionflowMapETAToOrderPayload {
|
||||
/**
|
||||
* @generated from protobuf field: api.ETA ExecutionflowETAComputed = 1 [json_name = "ExecutionflowETAComputed"];
|
||||
* @generated from protobuf field: api.ETA ExecutionflowETAComputed = 1
|
||||
*/
|
||||
ExecutionflowETAComputed?: ETA;
|
||||
/**
|
||||
* @generated from protobuf field: string OrderID = 2 [json_name = "OrderID"];
|
||||
* @generated from protobuf field: string OrderID = 2
|
||||
*/
|
||||
OrderID: string;
|
||||
}
|
||||
@@ -123,23 +123,23 @@ export interface ExecutionflowMapETAToOrderPayload {
|
||||
*/
|
||||
export interface ExecutionflowMapETAToOrder {
|
||||
/**
|
||||
* @generated from protobuf field: api.CommandHeader Header = 1 [json_name = "Header"];
|
||||
* @generated from protobuf field: api.CommandHeader Header = 1
|
||||
*/
|
||||
Header?: CommandHeader;
|
||||
/**
|
||||
* @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.ExecutionflowMapETAToOrderPayload Payload = 3 [json_name = "Payload"];
|
||||
* @generated from protobuf field: api.ExecutionflowMapETAToOrderPayload Payload = 3
|
||||
*/
|
||||
Payload?: ExecutionflowMapETAToOrderPayload;
|
||||
/**
|
||||
* @generated from protobuf field: api.ExecutionflowMapETAToOrderPayload EventPayload = 4 [json_name = "EventPayload"];
|
||||
* @generated from protobuf field: api.ExecutionflowMapETAToOrderPayload EventPayload = 4
|
||||
*/
|
||||
EventPayload?: ExecutionflowMapETAToOrderPayload;
|
||||
/**
|
||||
* @generated from protobuf field: api.ExecutionflowMapETAToOrderPayload PreviousPayload = 5 [json_name = "PreviousPayload"];
|
||||
* @generated from protobuf field: api.ExecutionflowMapETAToOrderPayload PreviousPayload = 5
|
||||
*/
|
||||
PreviousPayload?: ExecutionflowMapETAToOrderPayload;
|
||||
}
|
||||
@@ -151,65 +151,65 @@ export interface ExecutionflowMapETAToOrder {
|
||||
*/
|
||||
export interface ExecutionflowNotifyPartnerAppsPayload {
|
||||
/**
|
||||
* @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[];
|
||||
/**
|
||||
* @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;
|
||||
/**
|
||||
* @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;
|
||||
}
|
||||
@@ -218,23 +218,23 @@ export interface ExecutionflowNotifyPartnerAppsPayload {
|
||||
*/
|
||||
export interface ExecutionflowNotifyPartnerApps {
|
||||
/**
|
||||
* @generated from protobuf field: api.CommandHeader Header = 1 [json_name = "Header"];
|
||||
* @generated from protobuf field: api.CommandHeader Header = 1
|
||||
*/
|
||||
Header?: CommandHeader;
|
||||
/**
|
||||
* @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.ExecutionflowNotifyPartnerAppsPayload Payload = 3 [json_name = "Payload"];
|
||||
* @generated from protobuf field: api.ExecutionflowNotifyPartnerAppsPayload Payload = 3
|
||||
*/
|
||||
Payload?: ExecutionflowNotifyPartnerAppsPayload;
|
||||
/**
|
||||
* @generated from protobuf field: api.ExecutionflowNotifyPartnerAppsPayload EventPayload = 4 [json_name = "EventPayload"];
|
||||
* @generated from protobuf field: api.ExecutionflowNotifyPartnerAppsPayload EventPayload = 4
|
||||
*/
|
||||
EventPayload?: ExecutionflowNotifyPartnerAppsPayload;
|
||||
/**
|
||||
* @generated from protobuf field: api.ExecutionflowNotifyPartnerAppsPayload PreviousPayload = 5 [json_name = "PreviousPayload"];
|
||||
* @generated from protobuf field: api.ExecutionflowNotifyPartnerAppsPayload PreviousPayload = 5
|
||||
*/
|
||||
PreviousPayload?: ExecutionflowNotifyPartnerAppsPayload;
|
||||
}
|
||||
@@ -246,45 +246,45 @@ export interface ExecutionflowNotifyPartnerApps {
|
||||
*/
|
||||
export interface ExecutionflowCreateDetectedOrderPayload {
|
||||
/**
|
||||
* @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;
|
||||
/**
|
||||
* @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.TradeTier ShipFrom = 4 [json_name = "ShipFrom"];
|
||||
* @generated from protobuf field: api.TradeTier ShipFrom = 4
|
||||
*/
|
||||
ShipFrom?: TradeTier;
|
||||
/**
|
||||
* @generated from protobuf field: api.TradeTier ShipTo = 5 [json_name = "ShipTo"];
|
||||
* @generated from protobuf field: api.TradeTier ShipTo = 5
|
||||
*/
|
||||
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: 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[];
|
||||
// repeated HandlingunitSummary Handlingunits = 11;
|
||||
|
||||
/**
|
||||
* @generated from protobuf field: api.ExecutionflowStatusStruct Status = 13 [json_name = "Status"];
|
||||
* @generated from protobuf field: api.ExecutionflowStatusStruct Status = 13
|
||||
*/
|
||||
Status?: ExecutionflowStatusStruct;
|
||||
}
|
||||
@@ -293,23 +293,23 @@ export interface ExecutionflowCreateDetectedOrderPayload {
|
||||
*/
|
||||
export interface ExecutionflowCreateDetectedOrder {
|
||||
/**
|
||||
* @generated from protobuf field: api.CommandHeader Header = 1 [json_name = "Header"];
|
||||
* @generated from protobuf field: api.CommandHeader Header = 1
|
||||
*/
|
||||
Header?: CommandHeader;
|
||||
/**
|
||||
* @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.ExecutionflowCreateDetectedOrderPayload Payload = 3 [json_name = "Payload"];
|
||||
* @generated from protobuf field: api.ExecutionflowCreateDetectedOrderPayload Payload = 3
|
||||
*/
|
||||
Payload?: ExecutionflowCreateDetectedOrderPayload;
|
||||
/**
|
||||
* @generated from protobuf field: api.ExecutionflowCreateDetectedOrderPayload EventPayload = 4 [json_name = "EventPayload"];
|
||||
* @generated from protobuf field: api.ExecutionflowCreateDetectedOrderPayload EventPayload = 4
|
||||
*/
|
||||
EventPayload?: ExecutionflowCreateDetectedOrderPayload;
|
||||
/**
|
||||
* @generated from protobuf field: api.ExecutionflowCreateDetectedOrderPayload PreviousPayload = 5 [json_name = "PreviousPayload"];
|
||||
* @generated from protobuf field: api.ExecutionflowCreateDetectedOrderPayload PreviousPayload = 5
|
||||
*/
|
||||
PreviousPayload?: ExecutionflowCreateDetectedOrderPayload;
|
||||
}
|
||||
@@ -346,34 +346,34 @@ class ExecutionflowMapSummaryToOrderPayload$Type extends MessageType<Executionfl
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.ExecutionflowStatusStruct Status = 1 [json_name = "Status"];*/ 1:
|
||||
case /* api.ExecutionflowStatusStruct Status */ 1:
|
||||
message.Status = ExecutionflowStatusStruct.internalBinaryRead(reader, reader.uint32(), options, message.Status);
|
||||
break;
|
||||
case /* string OrderID = 2 [json_name = "OrderID"];*/ 2:
|
||||
case /* string OrderID */ 2:
|
||||
message.OrderID = reader.string();
|
||||
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 /* 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;
|
||||
default:
|
||||
@@ -388,34 +388,34 @@ class ExecutionflowMapSummaryToOrderPayload$Type extends MessageType<Executionfl
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ExecutionflowMapSummaryToOrderPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.ExecutionflowStatusStruct Status = 1 [json_name = "Status"]; */
|
||||
/* api.ExecutionflowStatusStruct Status = 1; */
|
||||
if (message.Status)
|
||||
ExecutionflowStatusStruct.internalBinaryWrite(message.Status, 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);
|
||||
/* 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);
|
||||
/* 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);
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -450,19 +450,19 @@ class ExecutionflowMapSummaryToOrder$Type extends MessageType<ExecutionflowMapSu
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.CommandHeader Header = 1 [json_name = "Header"];*/ 1:
|
||||
case /* api.CommandHeader Header */ 1:
|
||||
message.Header = CommandHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
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.ExecutionflowMapSummaryToOrderPayload Payload = 3 [json_name = "Payload"];*/ 3:
|
||||
case /* api.ExecutionflowMapSummaryToOrderPayload Payload */ 3:
|
||||
message.Payload = ExecutionflowMapSummaryToOrderPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
||||
break;
|
||||
case /* api.ExecutionflowMapSummaryToOrderPayload EventPayload = 4 [json_name = "EventPayload"];*/ 4:
|
||||
case /* api.ExecutionflowMapSummaryToOrderPayload EventPayload */ 4:
|
||||
message.EventPayload = ExecutionflowMapSummaryToOrderPayload.internalBinaryRead(reader, reader.uint32(), options, message.EventPayload);
|
||||
break;
|
||||
case /* api.ExecutionflowMapSummaryToOrderPayload PreviousPayload = 5 [json_name = "PreviousPayload"];*/ 5:
|
||||
case /* api.ExecutionflowMapSummaryToOrderPayload PreviousPayload */ 5:
|
||||
message.PreviousPayload = ExecutionflowMapSummaryToOrderPayload.internalBinaryRead(reader, reader.uint32(), options, message.PreviousPayload);
|
||||
break;
|
||||
default:
|
||||
@@ -477,19 +477,19 @@ class ExecutionflowMapSummaryToOrder$Type extends MessageType<ExecutionflowMapSu
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ExecutionflowMapSummaryToOrder, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.CommandHeader Header = 1 [json_name = "Header"]; */
|
||||
/* api.CommandHeader Header = 1; */
|
||||
if (message.Header)
|
||||
CommandHeader.internalBinaryWrite(message.Header, 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.ExecutionflowMapSummaryToOrderPayload Payload = 3 [json_name = "Payload"]; */
|
||||
/* api.ExecutionflowMapSummaryToOrderPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
ExecutionflowMapSummaryToOrderPayload.internalBinaryWrite(message.Payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.ExecutionflowMapSummaryToOrderPayload EventPayload = 4 [json_name = "EventPayload"]; */
|
||||
/* api.ExecutionflowMapSummaryToOrderPayload EventPayload = 4; */
|
||||
if (message.EventPayload)
|
||||
ExecutionflowMapSummaryToOrderPayload.internalBinaryWrite(message.EventPayload, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.ExecutionflowMapSummaryToOrderPayload PreviousPayload = 5 [json_name = "PreviousPayload"]; */
|
||||
/* api.ExecutionflowMapSummaryToOrderPayload PreviousPayload = 5; */
|
||||
if (message.PreviousPayload)
|
||||
ExecutionflowMapSummaryToOrderPayload.internalBinaryWrite(message.PreviousPayload, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -522,10 +522,10 @@ class ExecutionflowMapETAToOrderPayload$Type extends MessageType<ExecutionflowMa
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.ETA ExecutionflowETAComputed = 1 [json_name = "ExecutionflowETAComputed"];*/ 1:
|
||||
case /* api.ETA ExecutionflowETAComputed */ 1:
|
||||
message.ExecutionflowETAComputed = ETA.internalBinaryRead(reader, reader.uint32(), options, message.ExecutionflowETAComputed);
|
||||
break;
|
||||
case /* string OrderID = 2 [json_name = "OrderID"];*/ 2:
|
||||
case /* string OrderID */ 2:
|
||||
message.OrderID = reader.string();
|
||||
break;
|
||||
default:
|
||||
@@ -540,10 +540,10 @@ class ExecutionflowMapETAToOrderPayload$Type extends MessageType<ExecutionflowMa
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ExecutionflowMapETAToOrderPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.ETA ExecutionflowETAComputed = 1 [json_name = "ExecutionflowETAComputed"]; */
|
||||
/* api.ETA ExecutionflowETAComputed = 1; */
|
||||
if (message.ExecutionflowETAComputed)
|
||||
ETA.internalBinaryWrite(message.ExecutionflowETAComputed, 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);
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -578,19 +578,19 @@ class ExecutionflowMapETAToOrder$Type extends MessageType<ExecutionflowMapETAToO
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.CommandHeader Header = 1 [json_name = "Header"];*/ 1:
|
||||
case /* api.CommandHeader Header */ 1:
|
||||
message.Header = CommandHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
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.ExecutionflowMapETAToOrderPayload Payload = 3 [json_name = "Payload"];*/ 3:
|
||||
case /* api.ExecutionflowMapETAToOrderPayload Payload */ 3:
|
||||
message.Payload = ExecutionflowMapETAToOrderPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
||||
break;
|
||||
case /* api.ExecutionflowMapETAToOrderPayload EventPayload = 4 [json_name = "EventPayload"];*/ 4:
|
||||
case /* api.ExecutionflowMapETAToOrderPayload EventPayload */ 4:
|
||||
message.EventPayload = ExecutionflowMapETAToOrderPayload.internalBinaryRead(reader, reader.uint32(), options, message.EventPayload);
|
||||
break;
|
||||
case /* api.ExecutionflowMapETAToOrderPayload PreviousPayload = 5 [json_name = "PreviousPayload"];*/ 5:
|
||||
case /* api.ExecutionflowMapETAToOrderPayload PreviousPayload */ 5:
|
||||
message.PreviousPayload = ExecutionflowMapETAToOrderPayload.internalBinaryRead(reader, reader.uint32(), options, message.PreviousPayload);
|
||||
break;
|
||||
default:
|
||||
@@ -605,19 +605,19 @@ class ExecutionflowMapETAToOrder$Type extends MessageType<ExecutionflowMapETAToO
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ExecutionflowMapETAToOrder, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.CommandHeader Header = 1 [json_name = "Header"]; */
|
||||
/* api.CommandHeader Header = 1; */
|
||||
if (message.Header)
|
||||
CommandHeader.internalBinaryWrite(message.Header, 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.ExecutionflowMapETAToOrderPayload Payload = 3 [json_name = "Payload"]; */
|
||||
/* api.ExecutionflowMapETAToOrderPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
ExecutionflowMapETAToOrderPayload.internalBinaryWrite(message.Payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.ExecutionflowMapETAToOrderPayload EventPayload = 4 [json_name = "EventPayload"]; */
|
||||
/* api.ExecutionflowMapETAToOrderPayload EventPayload = 4; */
|
||||
if (message.EventPayload)
|
||||
ExecutionflowMapETAToOrderPayload.internalBinaryWrite(message.EventPayload, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.ExecutionflowMapETAToOrderPayload PreviousPayload = 5 [json_name = "PreviousPayload"]; */
|
||||
/* api.ExecutionflowMapETAToOrderPayload PreviousPayload = 5; */
|
||||
if (message.PreviousPayload)
|
||||
ExecutionflowMapETAToOrderPayload.internalBinaryWrite(message.PreviousPayload, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -667,43 +667,43 @@ class ExecutionflowNotifyPartnerAppsPayload$Type extends MessageType<Executionfl
|
||||
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;
|
||||
default:
|
||||
@@ -718,43 +718,43 @@ class ExecutionflowNotifyPartnerAppsPayload$Type extends MessageType<Executionfl
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ExecutionflowNotifyPartnerAppsPayload, 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);
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -789,19 +789,19 @@ class ExecutionflowNotifyPartnerApps$Type extends MessageType<ExecutionflowNotif
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.CommandHeader Header = 1 [json_name = "Header"];*/ 1:
|
||||
case /* api.CommandHeader Header */ 1:
|
||||
message.Header = CommandHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
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.ExecutionflowNotifyPartnerAppsPayload Payload = 3 [json_name = "Payload"];*/ 3:
|
||||
case /* api.ExecutionflowNotifyPartnerAppsPayload Payload */ 3:
|
||||
message.Payload = ExecutionflowNotifyPartnerAppsPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
||||
break;
|
||||
case /* api.ExecutionflowNotifyPartnerAppsPayload EventPayload = 4 [json_name = "EventPayload"];*/ 4:
|
||||
case /* api.ExecutionflowNotifyPartnerAppsPayload EventPayload */ 4:
|
||||
message.EventPayload = ExecutionflowNotifyPartnerAppsPayload.internalBinaryRead(reader, reader.uint32(), options, message.EventPayload);
|
||||
break;
|
||||
case /* api.ExecutionflowNotifyPartnerAppsPayload PreviousPayload = 5 [json_name = "PreviousPayload"];*/ 5:
|
||||
case /* api.ExecutionflowNotifyPartnerAppsPayload PreviousPayload */ 5:
|
||||
message.PreviousPayload = ExecutionflowNotifyPartnerAppsPayload.internalBinaryRead(reader, reader.uint32(), options, message.PreviousPayload);
|
||||
break;
|
||||
default:
|
||||
@@ -816,19 +816,19 @@ class ExecutionflowNotifyPartnerApps$Type extends MessageType<ExecutionflowNotif
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ExecutionflowNotifyPartnerApps, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.CommandHeader Header = 1 [json_name = "Header"]; */
|
||||
/* api.CommandHeader Header = 1; */
|
||||
if (message.Header)
|
||||
CommandHeader.internalBinaryWrite(message.Header, 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.ExecutionflowNotifyPartnerAppsPayload Payload = 3 [json_name = "Payload"]; */
|
||||
/* api.ExecutionflowNotifyPartnerAppsPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
ExecutionflowNotifyPartnerAppsPayload.internalBinaryWrite(message.Payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.ExecutionflowNotifyPartnerAppsPayload EventPayload = 4 [json_name = "EventPayload"]; */
|
||||
/* api.ExecutionflowNotifyPartnerAppsPayload EventPayload = 4; */
|
||||
if (message.EventPayload)
|
||||
ExecutionflowNotifyPartnerAppsPayload.internalBinaryWrite(message.EventPayload, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.ExecutionflowNotifyPartnerAppsPayload PreviousPayload = 5 [json_name = "PreviousPayload"]; */
|
||||
/* api.ExecutionflowNotifyPartnerAppsPayload PreviousPayload = 5; */
|
||||
if (message.PreviousPayload)
|
||||
ExecutionflowNotifyPartnerAppsPayload.internalBinaryWrite(message.PreviousPayload, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -872,34 +872,34 @@ class ExecutionflowCreateDetectedOrderPayload$Type extends MessageType<Execution
|
||||
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 /* api.ExecutionflowStatusStruct Status = 13 [json_name = "Status"];*/ 13:
|
||||
case /* api.ExecutionflowStatusStruct Status */ 13:
|
||||
message.Status = ExecutionflowStatusStruct.internalBinaryRead(reader, reader.uint32(), options, message.Status);
|
||||
break;
|
||||
default:
|
||||
@@ -914,34 +914,34 @@ class ExecutionflowCreateDetectedOrderPayload$Type extends MessageType<Execution
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ExecutionflowCreateDetectedOrderPayload, 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();
|
||||
/* 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();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -976,19 +976,19 @@ class ExecutionflowCreateDetectedOrder$Type extends MessageType<ExecutionflowCre
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.CommandHeader Header = 1 [json_name = "Header"];*/ 1:
|
||||
case /* api.CommandHeader Header */ 1:
|
||||
message.Header = CommandHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
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.ExecutionflowCreateDetectedOrderPayload Payload = 3 [json_name = "Payload"];*/ 3:
|
||||
case /* api.ExecutionflowCreateDetectedOrderPayload Payload */ 3:
|
||||
message.Payload = ExecutionflowCreateDetectedOrderPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
||||
break;
|
||||
case /* api.ExecutionflowCreateDetectedOrderPayload EventPayload = 4 [json_name = "EventPayload"];*/ 4:
|
||||
case /* api.ExecutionflowCreateDetectedOrderPayload EventPayload */ 4:
|
||||
message.EventPayload = ExecutionflowCreateDetectedOrderPayload.internalBinaryRead(reader, reader.uint32(), options, message.EventPayload);
|
||||
break;
|
||||
case /* api.ExecutionflowCreateDetectedOrderPayload PreviousPayload = 5 [json_name = "PreviousPayload"];*/ 5:
|
||||
case /* api.ExecutionflowCreateDetectedOrderPayload PreviousPayload */ 5:
|
||||
message.PreviousPayload = ExecutionflowCreateDetectedOrderPayload.internalBinaryRead(reader, reader.uint32(), options, message.PreviousPayload);
|
||||
break;
|
||||
default:
|
||||
@@ -1003,19 +1003,19 @@ class ExecutionflowCreateDetectedOrder$Type extends MessageType<ExecutionflowCre
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ExecutionflowCreateDetectedOrder, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.CommandHeader Header = 1 [json_name = "Header"]; */
|
||||
/* api.CommandHeader Header = 1; */
|
||||
if (message.Header)
|
||||
CommandHeader.internalBinaryWrite(message.Header, 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.ExecutionflowCreateDetectedOrderPayload Payload = 3 [json_name = "Payload"]; */
|
||||
/* api.ExecutionflowCreateDetectedOrderPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
ExecutionflowCreateDetectedOrderPayload.internalBinaryWrite(message.Payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.ExecutionflowCreateDetectedOrderPayload EventPayload = 4 [json_name = "EventPayload"]; */
|
||||
/* api.ExecutionflowCreateDetectedOrderPayload EventPayload = 4; */
|
||||
if (message.EventPayload)
|
||||
ExecutionflowCreateDetectedOrderPayload.internalBinaryWrite(message.EventPayload, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.ExecutionflowCreateDetectedOrderPayload PreviousPayload = 5 [json_name = "PreviousPayload"]; */
|
||||
/* api.ExecutionflowCreateDetectedOrderPayload PreviousPayload = 5; */
|
||||
if (message.PreviousPayload)
|
||||
ExecutionflowCreateDetectedOrderPayload.internalBinaryWrite(message.PreviousPayload, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
|
||||
Reference in New Issue
Block a user