You've already forked npm-core-sdk
Latest generation
This commit is contained in:
382
handlingunit.ts
382
handlingunit.ts
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "handlingunit.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
||||
@@ -53,77 +53,77 @@ export interface HandlingunitPayload {
|
||||
/**
|
||||
* @generated from protobuf field: api.HandlingunitInformation Information = 1 [json_name = "Information"];
|
||||
*/
|
||||
information?: HandlingunitInformation;
|
||||
Information?: HandlingunitInformation;
|
||||
/**
|
||||
* @generated from protobuf field: bool ContainsGoods = 2 [json_name = "ContainsGoods"];
|
||||
*/
|
||||
containsGoods: boolean;
|
||||
ContainsGoods: boolean;
|
||||
/**
|
||||
* @generated from protobuf field: bool ContainsHUs = 3 [json_name = "ContainsHUs"];
|
||||
*/
|
||||
containsHUs: boolean;
|
||||
ContainsHUs: boolean;
|
||||
/**
|
||||
* @generated from protobuf field: repeated string IncludedHandlingunitIDs = 4 [json_name = "IncludedHandlingunitIDs"];
|
||||
*/
|
||||
includedHandlingunitIDs: string[];
|
||||
IncludedHandlingunitIDs: string[];
|
||||
/**
|
||||
* @generated from protobuf field: api.TrackingSummary CurrentTrackingSummary = 5 [json_name = "CurrentTrackingSummary"];
|
||||
*/
|
||||
currentTrackingSummary?: TrackingSummary;
|
||||
CurrentTrackingSummary?: TrackingSummary;
|
||||
/**
|
||||
* 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 = 6 [json_name = "MetaData"];
|
||||
*/
|
||||
metaData: MetadataElement[];
|
||||
MetaData: MetadataElement[];
|
||||
/**
|
||||
* @generated from protobuf field: api.HandlingunitStatusStruct Status = 7 [json_name = "Status"];
|
||||
*/
|
||||
status?: HandlingunitStatusStruct; // Status field is not accessible from APIs
|
||||
Status?: HandlingunitStatusStruct; // Status field is not accessible from APIs
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.QuantifiedGoodsByExeflow PreparedContents = 8 [json_name = "PreparedContents"];
|
||||
*/
|
||||
preparedContents: QuantifiedGoodsByExeflow[];
|
||||
PreparedContents: QuantifiedGoodsByExeflow[];
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.QuantifiedDatedGoodsByExeflow ReceivedContents = 9 [json_name = "ReceivedContents"];
|
||||
*/
|
||||
receivedContents: QuantifiedDatedGoodsByExeflow[];
|
||||
ReceivedContents: QuantifiedDatedGoodsByExeflow[];
|
||||
/**
|
||||
* @generated from protobuf field: api.DateTime DispatchedDateTime = 10 [json_name = "DispatchedDateTime"];
|
||||
*/
|
||||
dispatchedDateTime?: DateTime;
|
||||
DispatchedDateTime?: DateTime;
|
||||
/**
|
||||
* @generated from protobuf field: repeated string TrackingIDs = 11 [json_name = "TrackingIDs"];
|
||||
*/
|
||||
trackingIDs: string[];
|
||||
TrackingIDs: string[];
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.AttachmentSummary Attachments = 12 [json_name = "Attachments"];
|
||||
*/
|
||||
attachments: AttachmentSummary[];
|
||||
Attachments: AttachmentSummary[];
|
||||
/**
|
||||
* @generated from protobuf field: int32 AttachmentNumber = 13 [json_name = "AttachmentNumber"];
|
||||
*/
|
||||
attachmentNumber: number;
|
||||
AttachmentNumber: number;
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.ClaimSummary Claims = 14 [json_name = "Claims"];
|
||||
*/
|
||||
claims: ClaimSummary[];
|
||||
Claims: ClaimSummary[];
|
||||
/**
|
||||
* @generated from protobuf field: int32 ClaimNumber = 15 [json_name = "ClaimNumber"];
|
||||
*/
|
||||
claimNumber: number;
|
||||
ClaimNumber: number;
|
||||
/**
|
||||
* @generated from protobuf field: api.ETA HandlingunitETA = 16 [json_name = "HandlingunitETA"];
|
||||
*/
|
||||
handlingunitETA?: ETA;
|
||||
HandlingunitETA?: ETA;
|
||||
/**
|
||||
* @generated from protobuf field: api.ETA TrackingETA = 17 [json_name = "TrackingETA"];
|
||||
*/
|
||||
trackingETA?: ETA;
|
||||
TrackingETA?: ETA;
|
||||
/**
|
||||
* @generated from protobuf field: string ParentHU = 18 [json_name = "ParentHU"];
|
||||
*/
|
||||
parentHU: string;
|
||||
ParentHU: string;
|
||||
}
|
||||
//
|
||||
// Handlingunit entity structure
|
||||
@@ -135,15 +135,15 @@ export interface Handlingunit {
|
||||
/**
|
||||
* @generated from protobuf field: api.EventHeader LastEventHeader = 1 [json_name = "LastEventHeader"];
|
||||
*/
|
||||
lastEventHeader?: EventHeader;
|
||||
LastEventHeader?: EventHeader;
|
||||
/**
|
||||
* @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"];
|
||||
*/
|
||||
iD?: EntityID;
|
||||
ID?: EntityID;
|
||||
/**
|
||||
* @generated from protobuf field: api.HandlingunitPayload Payload = 3 [json_name = "Payload"];
|
||||
*/
|
||||
payload?: HandlingunitPayload;
|
||||
Payload?: HandlingunitPayload;
|
||||
}
|
||||
// Handlingunit Enrichment
|
||||
|
||||
@@ -154,47 +154,47 @@ export interface HandlingunitEnrichment {
|
||||
/**
|
||||
* @generated from protobuf field: string ParentEventID = 1 [json_name = "ParentEventID"];
|
||||
*/
|
||||
parentEventID: string;
|
||||
ParentEventID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string EntityName = 2 [json_name = "EntityName"];
|
||||
*/
|
||||
entityName: string;
|
||||
EntityName: string;
|
||||
/**
|
||||
* @generated from protobuf field: string EntityRefID = 3 [json_name = "EntityRefID"];
|
||||
*/
|
||||
entityRefID: string;
|
||||
EntityRefID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string RefFilter = 4 [json_name = "RefFilter"];
|
||||
*/
|
||||
refFilter: string;
|
||||
RefFilter: string;
|
||||
/**
|
||||
* @generated from protobuf field: string MergePath = 5 [json_name = "MergePath"];
|
||||
*/
|
||||
mergePath: string;
|
||||
MergePath: string;
|
||||
/**
|
||||
* @generated from protobuf oneof: Content
|
||||
*/
|
||||
content: {
|
||||
oneofKind: "item";
|
||||
Content: {
|
||||
oneofKind: "Item";
|
||||
/**
|
||||
* @generated from protobuf field: api.ItemPayload Item = 10 [json_name = "Item"];
|
||||
*/
|
||||
item: ItemPayload;
|
||||
Item: ItemPayload;
|
||||
} | {
|
||||
oneofKind: undefined;
|
||||
};
|
||||
/**
|
||||
* @generated from protobuf field: string Project = 6 [json_name = "Project"];
|
||||
*/
|
||||
project: string;
|
||||
Project: string;
|
||||
/**
|
||||
* @generated from protobuf field: string ParentEntityName = 7 [json_name = "ParentEntityName"];
|
||||
*/
|
||||
parentEntityName: string;
|
||||
ParentEntityName: string;
|
||||
/**
|
||||
* @generated from protobuf field: string ParentEntityID = 8 [json_name = "ParentEntityID"];
|
||||
*/
|
||||
parentEntityID: string;
|
||||
ParentEntityID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.HandlingunitTriplet
|
||||
@@ -203,54 +203,54 @@ export interface HandlingunitTriplet {
|
||||
/**
|
||||
* @generated from protobuf field: api.Handlingunit Current = 1 [json_name = "Current"];
|
||||
*/
|
||||
current?: Handlingunit;
|
||||
Current?: Handlingunit;
|
||||
/**
|
||||
* @generated from protobuf field: api.Handlingunit Previous = 2 [json_name = "Previous"];
|
||||
*/
|
||||
previous?: Handlingunit;
|
||||
Previous?: Handlingunit;
|
||||
/**
|
||||
* @generated from protobuf field: api.Handlingunit LastEvent = 3 [json_name = "LastEvent"];
|
||||
*/
|
||||
lastEvent?: Handlingunit;
|
||||
LastEvent?: Handlingunit;
|
||||
}
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class HandlingunitPayload$Type extends MessageType<HandlingunitPayload> {
|
||||
constructor() {
|
||||
super("api.HandlingunitPayload", [
|
||||
{ no: 1, name: "Information", kind: "message", jsonName: "Information", T: () => HandlingunitInformation },
|
||||
{ no: 2, name: "ContainsGoods", kind: "scalar", jsonName: "ContainsGoods", T: 8 /*ScalarType.BOOL*/, options: { "api.dataRestrictionKey": "Handlingunit", "api.kpiItems": { Items: [{ Context: "Handlingunit", Group: "handlingunit", Queryable: true }] } } },
|
||||
{ no: 3, name: "ContainsHUs", kind: "scalar", jsonName: "ContainsHUs", T: 8 /*ScalarType.BOOL*/, options: { "api.dataRestrictionKey": "Handlingunit", "api.kpiItems": { Items: [{ Context: "Handlingunit", Group: "handlingunit", Queryable: true }] } } },
|
||||
{ no: 4, name: "IncludedHandlingunitIDs", kind: "scalar", jsonName: "IncludedHandlingunitIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }] }, "api.aggAppend": "HUsAdded", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
||||
{ no: 5, name: "CurrentTrackingSummary", kind: "message", jsonName: "CurrentTrackingSummary", T: () => TrackingSummary, options: { "api.aggSkip": "TrackingUpdated" } },
|
||||
{ no: 6, name: "MetaData", kind: "message", jsonName: "MetaData", repeat: 1 /*RepeatType.PACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key", "api.parentEntity": "Handlingunit", "api.aggAppend": "HUsAdded,MetaDataUpdated,GoodsPrepared" } },
|
||||
{ no: 7, name: "Status", kind: "message", jsonName: "Status", T: () => HandlingunitStatusStruct, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
|
||||
{ no: 8, name: "PreparedContents", kind: "message", jsonName: "PreparedContents", repeat: 1 /*RepeatType.PACKED*/, T: () => QuantifiedGoodsByExeflow, options: { "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }] }, "api.aggAppend": "GoodsPrepared" } },
|
||||
{ no: 9, name: "ReceivedContents", kind: "message", jsonName: "ReceivedContents", repeat: 1 /*RepeatType.PACKED*/, T: () => QuantifiedDatedGoodsByExeflow, options: { "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }] }, "api.aggAppend": "GoodsReceived" } },
|
||||
{ no: 10, name: "DispatchedDateTime", kind: "message", jsonName: "DispatchedDateTime", T: () => DateTime, options: { "api.aggSkip": "TrackingUpdated", "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }] } } },
|
||||
{ no: 11, name: "TrackingIDs", kind: "scalar", jsonName: "TrackingIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "api.aggAppend": "TrackingUpdated", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
||||
{ no: 12, name: "Attachments", kind: "message", jsonName: "Attachments", repeat: 1 /*RepeatType.PACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments per type" }, "api.aggSkip": "AttachmentAdded,AttachmentRemoved" } },
|
||||
{ no: 13, name: "AttachmentNumber", kind: "scalar", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" } } },
|
||||
{ no: 14, name: "Claims", kind: "message", jsonName: "Claims", repeat: 1 /*RepeatType.PACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims per type" }, "api.aggKey": "ClaimTypeID", "api.aggSkip": "ClaimAdded" } },
|
||||
{ no: 15, name: "ClaimNumber", kind: "scalar", jsonName: "ClaimNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of claims" } } },
|
||||
{ no: 16, name: "HandlingunitETA", kind: "message", jsonName: "HandlingunitETA", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Estimated Time of Arrival for the HandlingUnit" }, "api.aggSkip": "ETAUpdated" } },
|
||||
{ no: 17, name: "TrackingETA", kind: "message", jsonName: "TrackingETA", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Estimated Time of Arrival for the HandlingUnit received from Tracking" }, "api.aggSkip": "TrackingETAUpdated", "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }] } } },
|
||||
{ no: 18, name: "ParentHU", kind: "scalar", jsonName: "ParentHU", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "HU parent for this HU" } } }
|
||||
{ no: 1, name: "Information", kind: "message", localName: "Information", jsonName: "Information", T: () => HandlingunitInformation },
|
||||
{ no: 2, name: "ContainsGoods", kind: "scalar", localName: "ContainsGoods", jsonName: "ContainsGoods", T: 8 /*ScalarType.BOOL*/, options: { "api.dataRestrictionKey": "Handlingunit", "api.kpiItems": { Items: [{ Context: "Handlingunit", Group: "handlingunit", Queryable: true }] } } },
|
||||
{ no: 3, name: "ContainsHUs", kind: "scalar", localName: "ContainsHUs", jsonName: "ContainsHUs", T: 8 /*ScalarType.BOOL*/, options: { "api.dataRestrictionKey": "Handlingunit", "api.kpiItems": { Items: [{ Context: "Handlingunit", Group: "handlingunit", Queryable: true }] } } },
|
||||
{ no: 4, name: "IncludedHandlingunitIDs", kind: "scalar", localName: "IncludedHandlingunitIDs", jsonName: "IncludedHandlingunitIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }] }, "api.aggAppend": "HUsAdded", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
||||
{ no: 5, name: "CurrentTrackingSummary", kind: "message", localName: "CurrentTrackingSummary", jsonName: "CurrentTrackingSummary", T: () => TrackingSummary, options: { "api.aggSkip": "TrackingUpdated" } },
|
||||
{ no: 6, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 1 /*RepeatType.PACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key", "api.parentEntity": "Handlingunit", "api.aggAppend": "HUsAdded,MetaDataUpdated,GoodsPrepared" } },
|
||||
{ no: 7, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => HandlingunitStatusStruct, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
|
||||
{ no: 8, name: "PreparedContents", kind: "message", localName: "PreparedContents", jsonName: "PreparedContents", repeat: 1 /*RepeatType.PACKED*/, T: () => QuantifiedGoodsByExeflow, options: { "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }] }, "api.aggAppend": "GoodsPrepared" } },
|
||||
{ no: 9, name: "ReceivedContents", kind: "message", localName: "ReceivedContents", jsonName: "ReceivedContents", repeat: 1 /*RepeatType.PACKED*/, T: () => QuantifiedDatedGoodsByExeflow, options: { "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }] }, "api.aggAppend": "GoodsReceived" } },
|
||||
{ no: 10, name: "DispatchedDateTime", kind: "message", localName: "DispatchedDateTime", jsonName: "DispatchedDateTime", T: () => DateTime, options: { "api.aggSkip": "TrackingUpdated", "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }] } } },
|
||||
{ no: 11, name: "TrackingIDs", kind: "scalar", localName: "TrackingIDs", jsonName: "TrackingIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "api.aggAppend": "TrackingUpdated", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
||||
{ no: 12, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 1 /*RepeatType.PACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments per type" }, "api.aggSkip": "AttachmentAdded,AttachmentRemoved" } },
|
||||
{ no: 13, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" } } },
|
||||
{ no: 14, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 1 /*RepeatType.PACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims per type" }, "api.aggKey": "ClaimTypeID", "api.aggSkip": "ClaimAdded" } },
|
||||
{ no: 15, name: "ClaimNumber", kind: "scalar", localName: "ClaimNumber", jsonName: "ClaimNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of claims" } } },
|
||||
{ no: 16, name: "HandlingunitETA", kind: "message", localName: "HandlingunitETA", jsonName: "HandlingunitETA", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Estimated Time of Arrival for the HandlingUnit" }, "api.aggSkip": "ETAUpdated" } },
|
||||
{ no: 17, name: "TrackingETA", kind: "message", localName: "TrackingETA", jsonName: "TrackingETA", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Estimated Time of Arrival for the HandlingUnit received from Tracking" }, "api.aggSkip": "TrackingETAUpdated", "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }] } } },
|
||||
{ no: 18, name: "ParentHU", kind: "scalar", localName: "ParentHU", jsonName: "ParentHU", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "HU parent for this HU" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<HandlingunitPayload>): HandlingunitPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.containsGoods = false;
|
||||
message.containsHUs = false;
|
||||
message.includedHandlingunitIDs = [];
|
||||
message.metaData = [];
|
||||
message.preparedContents = [];
|
||||
message.receivedContents = [];
|
||||
message.trackingIDs = [];
|
||||
message.attachments = [];
|
||||
message.attachmentNumber = 0;
|
||||
message.claims = [];
|
||||
message.claimNumber = 0;
|
||||
message.parentHU = "";
|
||||
message.ContainsGoods = false;
|
||||
message.ContainsHUs = false;
|
||||
message.IncludedHandlingunitIDs = [];
|
||||
message.MetaData = [];
|
||||
message.PreparedContents = [];
|
||||
message.ReceivedContents = [];
|
||||
message.TrackingIDs = [];
|
||||
message.Attachments = [];
|
||||
message.AttachmentNumber = 0;
|
||||
message.Claims = [];
|
||||
message.ClaimNumber = 0;
|
||||
message.ParentHU = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<HandlingunitPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -261,58 +261,58 @@ class HandlingunitPayload$Type extends MessageType<HandlingunitPayload> {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.HandlingunitInformation Information = 1 [json_name = "Information"];*/ 1:
|
||||
message.information = HandlingunitInformation.internalBinaryRead(reader, reader.uint32(), options, message.information);
|
||||
message.Information = HandlingunitInformation.internalBinaryRead(reader, reader.uint32(), options, message.Information);
|
||||
break;
|
||||
case /* bool ContainsGoods = 2 [json_name = "ContainsGoods"];*/ 2:
|
||||
message.containsGoods = reader.bool();
|
||||
message.ContainsGoods = reader.bool();
|
||||
break;
|
||||
case /* bool ContainsHUs = 3 [json_name = "ContainsHUs"];*/ 3:
|
||||
message.containsHUs = reader.bool();
|
||||
message.ContainsHUs = reader.bool();
|
||||
break;
|
||||
case /* repeated string IncludedHandlingunitIDs = 4 [json_name = "IncludedHandlingunitIDs"];*/ 4:
|
||||
message.includedHandlingunitIDs.push(reader.string());
|
||||
message.IncludedHandlingunitIDs.push(reader.string());
|
||||
break;
|
||||
case /* api.TrackingSummary CurrentTrackingSummary = 5 [json_name = "CurrentTrackingSummary"];*/ 5:
|
||||
message.currentTrackingSummary = TrackingSummary.internalBinaryRead(reader, reader.uint32(), options, message.currentTrackingSummary);
|
||||
message.CurrentTrackingSummary = TrackingSummary.internalBinaryRead(reader, reader.uint32(), options, message.CurrentTrackingSummary);
|
||||
break;
|
||||
case /* repeated api.MetadataElement MetaData = 6 [json_name = "MetaData"];*/ 6:
|
||||
message.metaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
|
||||
message.MetaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* api.HandlingunitStatusStruct Status = 7 [json_name = "Status"];*/ 7:
|
||||
message.status = HandlingunitStatusStruct.internalBinaryRead(reader, reader.uint32(), options, message.status);
|
||||
message.Status = HandlingunitStatusStruct.internalBinaryRead(reader, reader.uint32(), options, message.Status);
|
||||
break;
|
||||
case /* repeated api.QuantifiedGoodsByExeflow PreparedContents = 8 [json_name = "PreparedContents"];*/ 8:
|
||||
message.preparedContents.push(QuantifiedGoodsByExeflow.internalBinaryRead(reader, reader.uint32(), options));
|
||||
message.PreparedContents.push(QuantifiedGoodsByExeflow.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.QuantifiedDatedGoodsByExeflow ReceivedContents = 9 [json_name = "ReceivedContents"];*/ 9:
|
||||
message.receivedContents.push(QuantifiedDatedGoodsByExeflow.internalBinaryRead(reader, reader.uint32(), options));
|
||||
message.ReceivedContents.push(QuantifiedDatedGoodsByExeflow.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* api.DateTime DispatchedDateTime = 10 [json_name = "DispatchedDateTime"];*/ 10:
|
||||
message.dispatchedDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.dispatchedDateTime);
|
||||
message.DispatchedDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.DispatchedDateTime);
|
||||
break;
|
||||
case /* repeated string TrackingIDs = 11 [json_name = "TrackingIDs"];*/ 11:
|
||||
message.trackingIDs.push(reader.string());
|
||||
message.TrackingIDs.push(reader.string());
|
||||
break;
|
||||
case /* repeated api.AttachmentSummary Attachments = 12 [json_name = "Attachments"];*/ 12:
|
||||
message.attachments.push(AttachmentSummary.internalBinaryRead(reader, reader.uint32(), options));
|
||||
message.Attachments.push(AttachmentSummary.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* int32 AttachmentNumber = 13 [json_name = "AttachmentNumber"];*/ 13:
|
||||
message.attachmentNumber = reader.int32();
|
||||
message.AttachmentNumber = reader.int32();
|
||||
break;
|
||||
case /* repeated api.ClaimSummary Claims = 14 [json_name = "Claims"];*/ 14:
|
||||
message.claims.push(ClaimSummary.internalBinaryRead(reader, reader.uint32(), options));
|
||||
message.Claims.push(ClaimSummary.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* int32 ClaimNumber = 15 [json_name = "ClaimNumber"];*/ 15:
|
||||
message.claimNumber = reader.int32();
|
||||
message.ClaimNumber = reader.int32();
|
||||
break;
|
||||
case /* api.ETA HandlingunitETA = 16 [json_name = "HandlingunitETA"];*/ 16:
|
||||
message.handlingunitETA = ETA.internalBinaryRead(reader, reader.uint32(), options, message.handlingunitETA);
|
||||
message.HandlingunitETA = ETA.internalBinaryRead(reader, reader.uint32(), options, message.HandlingunitETA);
|
||||
break;
|
||||
case /* api.ETA TrackingETA = 17 [json_name = "TrackingETA"];*/ 17:
|
||||
message.trackingETA = ETA.internalBinaryRead(reader, reader.uint32(), options, message.trackingETA);
|
||||
message.TrackingETA = ETA.internalBinaryRead(reader, reader.uint32(), options, message.TrackingETA);
|
||||
break;
|
||||
case /* string ParentHU = 18 [json_name = "ParentHU"];*/ 18:
|
||||
message.parentHU = reader.string();
|
||||
message.ParentHU = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -327,59 +327,59 @@ class HandlingunitPayload$Type extends MessageType<HandlingunitPayload> {
|
||||
}
|
||||
internalBinaryWrite(message: HandlingunitPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.HandlingunitInformation Information = 1 [json_name = "Information"]; */
|
||||
if (message.information)
|
||||
HandlingunitInformation.internalBinaryWrite(message.information, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.Information)
|
||||
HandlingunitInformation.internalBinaryWrite(message.Information, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* bool ContainsGoods = 2 [json_name = "ContainsGoods"]; */
|
||||
if (message.containsGoods !== false)
|
||||
writer.tag(2, WireType.Varint).bool(message.containsGoods);
|
||||
if (message.ContainsGoods !== false)
|
||||
writer.tag(2, WireType.Varint).bool(message.ContainsGoods);
|
||||
/* bool ContainsHUs = 3 [json_name = "ContainsHUs"]; */
|
||||
if (message.containsHUs !== false)
|
||||
writer.tag(3, WireType.Varint).bool(message.containsHUs);
|
||||
if (message.ContainsHUs !== false)
|
||||
writer.tag(3, WireType.Varint).bool(message.ContainsHUs);
|
||||
/* repeated string IncludedHandlingunitIDs = 4 [json_name = "IncludedHandlingunitIDs"]; */
|
||||
for (let i = 0; i < message.includedHandlingunitIDs.length; i++)
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.includedHandlingunitIDs[i]);
|
||||
for (let i = 0; i < message.IncludedHandlingunitIDs.length; i++)
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.IncludedHandlingunitIDs[i]);
|
||||
/* api.TrackingSummary CurrentTrackingSummary = 5 [json_name = "CurrentTrackingSummary"]; */
|
||||
if (message.currentTrackingSummary)
|
||||
TrackingSummary.internalBinaryWrite(message.currentTrackingSummary, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.CurrentTrackingSummary)
|
||||
TrackingSummary.internalBinaryWrite(message.CurrentTrackingSummary, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.MetadataElement MetaData = 6 [json_name = "MetaData"]; */
|
||||
for (let i = 0; i < message.metaData.length; i++)
|
||||
MetadataElement.internalBinaryWrite(message.metaData[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
||||
for (let i = 0; i < message.MetaData.length; i++)
|
||||
MetadataElement.internalBinaryWrite(message.MetaData[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.HandlingunitStatusStruct Status = 7 [json_name = "Status"]; */
|
||||
if (message.status)
|
||||
HandlingunitStatusStruct.internalBinaryWrite(message.status, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.Status)
|
||||
HandlingunitStatusStruct.internalBinaryWrite(message.Status, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.QuantifiedGoodsByExeflow PreparedContents = 8 [json_name = "PreparedContents"]; */
|
||||
for (let i = 0; i < message.preparedContents.length; i++)
|
||||
QuantifiedGoodsByExeflow.internalBinaryWrite(message.preparedContents[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
||||
for (let i = 0; i < message.PreparedContents.length; i++)
|
||||
QuantifiedGoodsByExeflow.internalBinaryWrite(message.PreparedContents[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.QuantifiedDatedGoodsByExeflow ReceivedContents = 9 [json_name = "ReceivedContents"]; */
|
||||
for (let i = 0; i < message.receivedContents.length; i++)
|
||||
QuantifiedDatedGoodsByExeflow.internalBinaryWrite(message.receivedContents[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
||||
for (let i = 0; i < message.ReceivedContents.length; i++)
|
||||
QuantifiedDatedGoodsByExeflow.internalBinaryWrite(message.ReceivedContents[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.DateTime DispatchedDateTime = 10 [json_name = "DispatchedDateTime"]; */
|
||||
if (message.dispatchedDateTime)
|
||||
DateTime.internalBinaryWrite(message.dispatchedDateTime, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.DispatchedDateTime)
|
||||
DateTime.internalBinaryWrite(message.DispatchedDateTime, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated string TrackingIDs = 11 [json_name = "TrackingIDs"]; */
|
||||
for (let i = 0; i < message.trackingIDs.length; i++)
|
||||
writer.tag(11, WireType.LengthDelimited).string(message.trackingIDs[i]);
|
||||
for (let i = 0; i < message.TrackingIDs.length; i++)
|
||||
writer.tag(11, WireType.LengthDelimited).string(message.TrackingIDs[i]);
|
||||
/* repeated api.AttachmentSummary Attachments = 12 [json_name = "Attachments"]; */
|
||||
for (let i = 0; i < message.attachments.length; i++)
|
||||
AttachmentSummary.internalBinaryWrite(message.attachments[i], writer.tag(12, WireType.LengthDelimited).fork(), options).join();
|
||||
for (let i = 0; i < message.Attachments.length; i++)
|
||||
AttachmentSummary.internalBinaryWrite(message.Attachments[i], writer.tag(12, WireType.LengthDelimited).fork(), options).join();
|
||||
/* int32 AttachmentNumber = 13 [json_name = "AttachmentNumber"]; */
|
||||
if (message.attachmentNumber !== 0)
|
||||
writer.tag(13, WireType.Varint).int32(message.attachmentNumber);
|
||||
if (message.AttachmentNumber !== 0)
|
||||
writer.tag(13, WireType.Varint).int32(message.AttachmentNumber);
|
||||
/* repeated api.ClaimSummary Claims = 14 [json_name = "Claims"]; */
|
||||
for (let i = 0; i < message.claims.length; i++)
|
||||
ClaimSummary.internalBinaryWrite(message.claims[i], writer.tag(14, WireType.LengthDelimited).fork(), options).join();
|
||||
for (let i = 0; i < message.Claims.length; i++)
|
||||
ClaimSummary.internalBinaryWrite(message.Claims[i], writer.tag(14, WireType.LengthDelimited).fork(), options).join();
|
||||
/* int32 ClaimNumber = 15 [json_name = "ClaimNumber"]; */
|
||||
if (message.claimNumber !== 0)
|
||||
writer.tag(15, WireType.Varint).int32(message.claimNumber);
|
||||
if (message.ClaimNumber !== 0)
|
||||
writer.tag(15, WireType.Varint).int32(message.ClaimNumber);
|
||||
/* api.ETA HandlingunitETA = 16 [json_name = "HandlingunitETA"]; */
|
||||
if (message.handlingunitETA)
|
||||
ETA.internalBinaryWrite(message.handlingunitETA, writer.tag(16, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.HandlingunitETA)
|
||||
ETA.internalBinaryWrite(message.HandlingunitETA, writer.tag(16, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.ETA TrackingETA = 17 [json_name = "TrackingETA"]; */
|
||||
if (message.trackingETA)
|
||||
ETA.internalBinaryWrite(message.trackingETA, writer.tag(17, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.TrackingETA)
|
||||
ETA.internalBinaryWrite(message.TrackingETA, writer.tag(17, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string ParentHU = 18 [json_name = "ParentHU"]; */
|
||||
if (message.parentHU !== "")
|
||||
writer.tag(18, WireType.LengthDelimited).string(message.parentHU);
|
||||
if (message.ParentHU !== "")
|
||||
writer.tag(18, WireType.LengthDelimited).string(message.ParentHU);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -394,9 +394,9 @@ export const HandlingunitPayload = new HandlingunitPayload$Type();
|
||||
class Handlingunit$Type extends MessageType<Handlingunit> {
|
||||
constructor() {
|
||||
super("api.Handlingunit", [
|
||||
{ no: 1, name: "LastEventHeader", kind: "message", jsonName: "LastEventHeader", T: () => EventHeader },
|
||||
{ no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID },
|
||||
{ no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => HandlingunitPayload }
|
||||
{ no: 1, name: "LastEventHeader", kind: "message", localName: "LastEventHeader", jsonName: "LastEventHeader", T: () => EventHeader },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => HandlingunitPayload }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<Handlingunit>): Handlingunit {
|
||||
@@ -411,13 +411,13 @@ class Handlingunit$Type extends MessageType<Handlingunit> {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.EventHeader LastEventHeader = 1 [json_name = "LastEventHeader"];*/ 1:
|
||||
message.lastEventHeader = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.lastEventHeader);
|
||||
message.LastEventHeader = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.LastEventHeader);
|
||||
break;
|
||||
case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2:
|
||||
message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD);
|
||||
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
||||
break;
|
||||
case /* api.HandlingunitPayload Payload = 3 [json_name = "Payload"];*/ 3:
|
||||
message.payload = HandlingunitPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload);
|
||||
message.Payload = HandlingunitPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -432,14 +432,14 @@ class Handlingunit$Type extends MessageType<Handlingunit> {
|
||||
}
|
||||
internalBinaryWrite(message: Handlingunit, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.EventHeader LastEventHeader = 1 [json_name = "LastEventHeader"]; */
|
||||
if (message.lastEventHeader)
|
||||
EventHeader.internalBinaryWrite(message.lastEventHeader, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.LastEventHeader)
|
||||
EventHeader.internalBinaryWrite(message.LastEventHeader, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.EntityID ID = 2 [json_name = "ID"]; */
|
||||
if (message.iD)
|
||||
EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.ID)
|
||||
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.HandlingunitPayload Payload = 3 [json_name = "Payload"]; */
|
||||
if (message.payload)
|
||||
HandlingunitPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.Payload)
|
||||
HandlingunitPayload.internalBinaryWrite(message.Payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -454,28 +454,28 @@ export const Handlingunit = new Handlingunit$Type();
|
||||
class HandlingunitEnrichment$Type extends MessageType<HandlingunitEnrichment> {
|
||||
constructor() {
|
||||
super("api.HandlingunitEnrichment", [
|
||||
{ no: 1, name: "ParentEventID", kind: "scalar", jsonName: "ParentEventID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "EntityName", kind: "scalar", jsonName: "EntityName", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "EntityRefID", kind: "scalar", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "RefFilter", kind: "scalar", jsonName: "RefFilter", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 5, name: "MergePath", kind: "scalar", jsonName: "MergePath", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "Item", kind: "message", jsonName: "Item", oneof: "content", T: () => ItemPayload },
|
||||
{ no: 6, name: "Project", kind: "scalar", jsonName: "Project", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 7, name: "ParentEntityName", kind: "scalar", jsonName: "ParentEntityName", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 8, name: "ParentEntityID", kind: "scalar", jsonName: "ParentEntityID", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 1, name: "ParentEventID", kind: "scalar", localName: "ParentEventID", jsonName: "ParentEventID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "EntityName", kind: "scalar", localName: "EntityName", jsonName: "EntityName", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "RefFilter", kind: "scalar", localName: "RefFilter", jsonName: "RefFilter", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 5, name: "MergePath", kind: "scalar", localName: "MergePath", jsonName: "MergePath", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "Item", kind: "message", localName: "Item", jsonName: "Item", oneof: "Content", T: () => ItemPayload },
|
||||
{ no: 6, name: "Project", kind: "scalar", localName: "Project", jsonName: "Project", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 7, name: "ParentEntityName", kind: "scalar", localName: "ParentEntityName", jsonName: "ParentEntityName", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 8, name: "ParentEntityID", kind: "scalar", localName: "ParentEntityID", jsonName: "ParentEntityID", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<HandlingunitEnrichment>): HandlingunitEnrichment {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.parentEventID = "";
|
||||
message.entityName = "";
|
||||
message.entityRefID = "";
|
||||
message.refFilter = "";
|
||||
message.mergePath = "";
|
||||
message.content = { oneofKind: undefined };
|
||||
message.project = "";
|
||||
message.parentEntityName = "";
|
||||
message.parentEntityID = "";
|
||||
message.ParentEventID = "";
|
||||
message.EntityName = "";
|
||||
message.EntityRefID = "";
|
||||
message.RefFilter = "";
|
||||
message.MergePath = "";
|
||||
message.Content = { oneofKind: undefined };
|
||||
message.Project = "";
|
||||
message.ParentEntityName = "";
|
||||
message.ParentEntityID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<HandlingunitEnrichment>(this, message, value);
|
||||
return message;
|
||||
@@ -486,34 +486,34 @@ class HandlingunitEnrichment$Type extends MessageType<HandlingunitEnrichment> {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ParentEventID = 1 [json_name = "ParentEventID"];*/ 1:
|
||||
message.parentEventID = reader.string();
|
||||
message.ParentEventID = reader.string();
|
||||
break;
|
||||
case /* string EntityName = 2 [json_name = "EntityName"];*/ 2:
|
||||
message.entityName = reader.string();
|
||||
message.EntityName = reader.string();
|
||||
break;
|
||||
case /* string EntityRefID = 3 [json_name = "EntityRefID"];*/ 3:
|
||||
message.entityRefID = reader.string();
|
||||
message.EntityRefID = reader.string();
|
||||
break;
|
||||
case /* string RefFilter = 4 [json_name = "RefFilter"];*/ 4:
|
||||
message.refFilter = reader.string();
|
||||
message.RefFilter = reader.string();
|
||||
break;
|
||||
case /* string MergePath = 5 [json_name = "MergePath"];*/ 5:
|
||||
message.mergePath = reader.string();
|
||||
message.MergePath = reader.string();
|
||||
break;
|
||||
case /* api.ItemPayload Item = 10 [json_name = "Item"];*/ 10:
|
||||
message.content = {
|
||||
oneofKind: "item",
|
||||
item: ItemPayload.internalBinaryRead(reader, reader.uint32(), options, (message.content as any).item)
|
||||
message.Content = {
|
||||
oneofKind: "Item",
|
||||
Item: ItemPayload.internalBinaryRead(reader, reader.uint32(), options, (message.Content as any).Item)
|
||||
};
|
||||
break;
|
||||
case /* string Project = 6 [json_name = "Project"];*/ 6:
|
||||
message.project = reader.string();
|
||||
message.Project = reader.string();
|
||||
break;
|
||||
case /* string ParentEntityName = 7 [json_name = "ParentEntityName"];*/ 7:
|
||||
message.parentEntityName = reader.string();
|
||||
message.ParentEntityName = reader.string();
|
||||
break;
|
||||
case /* string ParentEntityID = 8 [json_name = "ParentEntityID"];*/ 8:
|
||||
message.parentEntityID = reader.string();
|
||||
message.ParentEntityID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -528,32 +528,32 @@ class HandlingunitEnrichment$Type extends MessageType<HandlingunitEnrichment> {
|
||||
}
|
||||
internalBinaryWrite(message: HandlingunitEnrichment, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ParentEventID = 1 [json_name = "ParentEventID"]; */
|
||||
if (message.parentEventID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.parentEventID);
|
||||
if (message.ParentEventID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ParentEventID);
|
||||
/* string EntityName = 2 [json_name = "EntityName"]; */
|
||||
if (message.entityName !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.entityName);
|
||||
if (message.EntityName !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.EntityName);
|
||||
/* string EntityRefID = 3 [json_name = "EntityRefID"]; */
|
||||
if (message.entityRefID !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.entityRefID);
|
||||
if (message.EntityRefID !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.EntityRefID);
|
||||
/* string RefFilter = 4 [json_name = "RefFilter"]; */
|
||||
if (message.refFilter !== "")
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.refFilter);
|
||||
if (message.RefFilter !== "")
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.RefFilter);
|
||||
/* string MergePath = 5 [json_name = "MergePath"]; */
|
||||
if (message.mergePath !== "")
|
||||
writer.tag(5, WireType.LengthDelimited).string(message.mergePath);
|
||||
if (message.MergePath !== "")
|
||||
writer.tag(5, WireType.LengthDelimited).string(message.MergePath);
|
||||
/* api.ItemPayload Item = 10 [json_name = "Item"]; */
|
||||
if (message.content.oneofKind === "item")
|
||||
ItemPayload.internalBinaryWrite(message.content.item, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.Content.oneofKind === "Item")
|
||||
ItemPayload.internalBinaryWrite(message.Content.Item, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string Project = 6 [json_name = "Project"]; */
|
||||
if (message.project !== "")
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.project);
|
||||
if (message.Project !== "")
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.Project);
|
||||
/* string ParentEntityName = 7 [json_name = "ParentEntityName"]; */
|
||||
if (message.parentEntityName !== "")
|
||||
writer.tag(7, WireType.LengthDelimited).string(message.parentEntityName);
|
||||
if (message.ParentEntityName !== "")
|
||||
writer.tag(7, WireType.LengthDelimited).string(message.ParentEntityName);
|
||||
/* string ParentEntityID = 8 [json_name = "ParentEntityID"]; */
|
||||
if (message.parentEntityID !== "")
|
||||
writer.tag(8, WireType.LengthDelimited).string(message.parentEntityID);
|
||||
if (message.ParentEntityID !== "")
|
||||
writer.tag(8, WireType.LengthDelimited).string(message.ParentEntityID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -568,9 +568,9 @@ export const HandlingunitEnrichment = new HandlingunitEnrichment$Type();
|
||||
class HandlingunitTriplet$Type extends MessageType<HandlingunitTriplet> {
|
||||
constructor() {
|
||||
super("api.HandlingunitTriplet", [
|
||||
{ no: 1, name: "Current", kind: "message", jsonName: "Current", T: () => Handlingunit },
|
||||
{ no: 2, name: "Previous", kind: "message", jsonName: "Previous", T: () => Handlingunit },
|
||||
{ no: 3, name: "LastEvent", kind: "message", jsonName: "LastEvent", T: () => Handlingunit }
|
||||
{ no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => Handlingunit },
|
||||
{ no: 2, name: "Previous", kind: "message", localName: "Previous", jsonName: "Previous", T: () => Handlingunit },
|
||||
{ no: 3, name: "LastEvent", kind: "message", localName: "LastEvent", jsonName: "LastEvent", T: () => Handlingunit }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<HandlingunitTriplet>): HandlingunitTriplet {
|
||||
@@ -585,13 +585,13 @@ class HandlingunitTriplet$Type extends MessageType<HandlingunitTriplet> {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.Handlingunit Current = 1 [json_name = "Current"];*/ 1:
|
||||
message.current = Handlingunit.internalBinaryRead(reader, reader.uint32(), options, message.current);
|
||||
message.Current = Handlingunit.internalBinaryRead(reader, reader.uint32(), options, message.Current);
|
||||
break;
|
||||
case /* api.Handlingunit Previous = 2 [json_name = "Previous"];*/ 2:
|
||||
message.previous = Handlingunit.internalBinaryRead(reader, reader.uint32(), options, message.previous);
|
||||
message.Previous = Handlingunit.internalBinaryRead(reader, reader.uint32(), options, message.Previous);
|
||||
break;
|
||||
case /* api.Handlingunit LastEvent = 3 [json_name = "LastEvent"];*/ 3:
|
||||
message.lastEvent = Handlingunit.internalBinaryRead(reader, reader.uint32(), options, message.lastEvent);
|
||||
message.LastEvent = Handlingunit.internalBinaryRead(reader, reader.uint32(), options, message.LastEvent);
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -606,14 +606,14 @@ class HandlingunitTriplet$Type extends MessageType<HandlingunitTriplet> {
|
||||
}
|
||||
internalBinaryWrite(message: HandlingunitTriplet, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.Handlingunit Current = 1 [json_name = "Current"]; */
|
||||
if (message.current)
|
||||
Handlingunit.internalBinaryWrite(message.current, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.Current)
|
||||
Handlingunit.internalBinaryWrite(message.Current, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.Handlingunit Previous = 2 [json_name = "Previous"]; */
|
||||
if (message.previous)
|
||||
Handlingunit.internalBinaryWrite(message.previous, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.Previous)
|
||||
Handlingunit.internalBinaryWrite(message.Previous, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.Handlingunit LastEvent = 3 [json_name = "LastEvent"]; */
|
||||
if (message.lastEvent)
|
||||
Handlingunit.internalBinaryWrite(message.lastEvent, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.LastEvent)
|
||||
Handlingunit.internalBinaryWrite(message.LastEvent, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user