diff --git a/handlingunit.ts b/handlingunit.ts index a7b7349..a6125ac 100644 --- a/handlingunit.ts +++ b/handlingunit.ts @@ -132,6 +132,10 @@ export interface HandlingunitPayload { * @generated from protobuf field: string MyTrackingID = 20 */ MyTrackingID: string; + /** + * @generated from protobuf field: string ParentHUReference = 21 + */ + ParentHUReference: string; } // // Handlingunit entity structure @@ -242,9 +246,10 @@ 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" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { 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.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Handlingunit", Group: "handlingunit", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, - { no: 20, name: "MyTrackingID", kind: "scalar", localName: "MyTrackingID", jsonName: "MyTrackingID", T: 9 /*ScalarType.STRING*/, options: { "api.aggSkip": "TrackingUpdated", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } } + { no: 20, name: "MyTrackingID", kind: "scalar", localName: "MyTrackingID", jsonName: "MyTrackingID", T: 9 /*ScalarType.STRING*/, options: { "api.aggSkip": "TrackingUpdated", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 21, name: "ParentHUReference", kind: "scalar", localName: "ParentHUReference", jsonName: "ParentHUReference", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "HU parent reference for this HU" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } } ]); } create(value?: PartialMessage): HandlingunitPayload { @@ -263,6 +268,7 @@ class HandlingunitPayload$Type extends MessageType { message.ParentHU = ""; message.Reference = ""; message.MyTrackingID = ""; + message.ParentHUReference = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -332,6 +338,9 @@ class HandlingunitPayload$Type extends MessageType { case /* string MyTrackingID */ 20: message.MyTrackingID = reader.string(); break; + case /* string ParentHUReference */ 21: + message.ParentHUReference = reader.string(); + break; default: let u = options.readUnknownField; if (u === "throw") @@ -404,6 +413,9 @@ class HandlingunitPayload$Type extends MessageType { /* string MyTrackingID = 20; */ if (message.MyTrackingID !== "") writer.tag(20, WireType.LengthDelimited).string(message.MyTrackingID); + /* string ParentHUReference = 21; */ + if (message.ParentHUReference !== "") + writer.tag(21, WireType.LengthDelimited).string(message.ParentHUReference); 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 6d87a4a..1be7c71 100644 --- a/handlingunitInput.ts +++ b/handlingunitInput.ts @@ -690,6 +690,10 @@ export interface HandlingunitParentHUUpdatedPayload { * @generated from protobuf field: string ParentHU = 1 */ ParentHU: string; + /** + * @generated from protobuf field: string ParentHUReference = 2 + */ + ParentHUReference: string; } /** * @generated from protobuf message api.HandlingunitParentHUUpdatedEvent @@ -3285,12 +3289,14 @@ export const HandlingunitMetaDataUpdatedResponse = new HandlingunitMetaDataUpdat class HandlingunitParentHUUpdatedPayload$Type extends MessageType { constructor() { super("api.HandlingunitParentHUUpdatedPayload", [ - { no: 1, 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: 1, 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: 2, name: "ParentHUReference", kind: "scalar", localName: "ParentHUReference", jsonName: "ParentHUReference", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "HU parent reference for this HU" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Update the list of Parents for this HU", required: ["ParentHUs"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ParentHUUpdated" }); } create(value?: PartialMessage): HandlingunitParentHUUpdatedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.ParentHU = ""; + message.ParentHUReference = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -3303,6 +3309,9 @@ class HandlingunitParentHUUpdatedPayload$Type extends MessageType