From d00e67d1b1ffdfb575169b3b9074c0a12a0e1856 Mon Sep 17 00:00:00 2001 From: ci core model Date: Thu, 4 Jun 2026 08:04:37 +0000 Subject: [PATCH] Latest generation --- handlingunit.ts | 14 +++++++++++++- handlingunitInput.ts | 42 +++++++++++++++++++++++++++++++++++++++--- package.json | 2 +- 3 files changed, 53 insertions(+), 5 deletions(-) diff --git a/handlingunit.ts b/handlingunit.ts index 93a06c3..b4385ce 100644 --- a/handlingunit.ts +++ b/handlingunit.ts @@ -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 { { 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 { @@ -251,6 +256,7 @@ class HandlingunitPayload$Type extends MessageType { message.Claims = []; message.ClaimNumber = 0; message.ParentHU = ""; + message.Reference = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -314,6 +320,9 @@ class HandlingunitPayload$Type extends MessageType { 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 { /* 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); diff --git a/handlingunitInput.ts b/handlingunitInput.ts index f305173..66adc0e 100644 --- a/handlingunitInput.ts +++ b/handlingunitInput.ts @@ -49,6 +49,10 @@ export interface HandlingunitGoodsPreparedPayload { * @generated from protobuf field: repeated api.MetadataElement MetaData = 3 */ MetaData: MetadataElement[]; + /** + * @generated from protobuf field: string Reference = 4 + */ + Reference: string; } /** * @generated from protobuf message api.HandlingunitGoodsPreparedEvent @@ -129,6 +133,10 @@ export interface HandlingunitHUsAddedPayload { * @generated from protobuf field: repeated api.MetadataElement MetaData = 4 */ MetaData: MetadataElement[]; + /** + * @generated from protobuf field: string Reference = 5 + */ + Reference: string; } /** * @generated from protobuf message api.HandlingunitHUsAddedEvent @@ -438,6 +446,10 @@ export interface HandlingunitGoodsReceivedPayload { * @generated from protobuf field: repeated api.QuantifiedDatedGoodsByExeflow ReceivedContents = 1 */ ReceivedContents: QuantifiedDatedGoodsByExeflow[]; + /** + * @generated from protobuf field: string Reference = 2 + */ + Reference: string; } /** * @generated from protobuf message api.HandlingunitGoodsReceivedEvent @@ -1006,13 +1018,15 @@ class HandlingunitGoodsPreparedPayload$Type extends MessageType HandlingunitInformation }, { no: 2, name: "PreparedContents", kind: "message", localName: "PreparedContents", jsonName: "PreparedContents", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantifiedGoodsByExeflow, options: { "n1validate.rules": { repeated: { minItems: "1" } } } }, - { no: 3, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, 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" } } + { no: 3, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, 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" } }, + { no: 4, 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.messageType": "Event", "api.payload": true, "api.inputEvent": "GoodsPrepared" }); } create(value?: PartialMessage): HandlingunitGoodsPreparedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.PreparedContents = []; message.MetaData = []; + message.Reference = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -1031,6 +1045,9 @@ class HandlingunitGoodsPreparedPayload$Type extends MessageType HandlingunitInformation }, { no: 3, name: "IncludedHandlingunitIDs", kind: "scalar", localName: "IncludedHandlingunitIDs", jsonName: "IncludedHandlingunitIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { minItems: "1" } } } }, - { no: 4, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, 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" } } + { no: 4, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, 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" } }, + { no: 5, 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.messageType": "Event", "api.payload": true, "api.inputEvent": "HUsAdded" }); } create(value?: PartialMessage): HandlingunitHUsAddedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.IncludedHandlingunitIDs = []; message.MetaData = []; + message.Reference = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -1266,6 +1288,9 @@ class HandlingunitHUsAddedPayload$Type extends MessageType { constructor() { super("api.HandlingunitGoodsReceivedPayload", [ - { no: 1, name: "ReceivedContents", kind: "message", localName: "ReceivedContents", jsonName: "ReceivedContents", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantifiedDatedGoodsByExeflow, options: { "n1validate.rules": { repeated: { minItems: "1" } } } } + { no: 1, name: "ReceivedContents", kind: "message", localName: "ReceivedContents", jsonName: "ReceivedContents", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantifiedDatedGoodsByExeflow, options: { "n1validate.rules": { repeated: { minItems: "1" } } } }, + { no: 2, 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.messageType": "Event", "api.payload": true, "api.inputEvent": "GoodsReceived" }); } create(value?: PartialMessage): HandlingunitGoodsReceivedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.ReceivedContents = []; + message.Reference = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -2375,6 +2405,9 @@ class HandlingunitGoodsReceivedPayload$Type extends MessageType