Latest generation

This commit is contained in:
ci core model
2026-06-04 08:04:37 +00:00
parent 833ecb586e
commit d00e67d1b1
3 changed files with 53 additions and 5 deletions

View File

@@ -124,6 +124,10 @@ export interface HandlingunitPayload {
* @generated from protobuf field: string ParentHU = 18
*/
ParentHU: string;
/**
* @generated from protobuf field: string Reference = 19
*/
Reference: string;
}
//
// Handlingunit entity structure
@@ -234,7 +238,8 @@ class HandlingunitPayload$Type extends MessageType<HandlingunitPayload> {
{ 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" } } }
{ 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" } } },
{ no: 19, name: "Reference", kind: "scalar", localName: "Reference", jsonName: "Reference", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Reference of this handling unit" }, "api.kpiItems": { Items: [{ Context: "Handlingunit", Group: "handlingunit", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }
]);
}
create(value?: PartialMessage<HandlingunitPayload>): HandlingunitPayload {
@@ -251,6 +256,7 @@ class HandlingunitPayload$Type extends MessageType<HandlingunitPayload> {
message.Claims = [];
message.ClaimNumber = 0;
message.ParentHU = "";
message.Reference = "";
if (value !== undefined)
reflectionMergePartial<HandlingunitPayload>(this, message, value);
return message;
@@ -314,6 +320,9 @@ class HandlingunitPayload$Type extends MessageType<HandlingunitPayload> {
case /* string ParentHU */ 18:
message.ParentHU = reader.string();
break;
case /* string Reference */ 19:
message.Reference = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -380,6 +389,9 @@ class HandlingunitPayload$Type extends MessageType<HandlingunitPayload> {
/* string ParentHU = 18; */
if (message.ParentHU !== "")
writer.tag(18, WireType.LengthDelimited).string(message.ParentHU);
/* string Reference = 19; */
if (message.Reference !== "")
writer.tag(19, WireType.LengthDelimited).string(message.Reference);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);