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 * @generated from protobuf field: string ParentHU = 18
*/ */
ParentHU: string; ParentHU: string;
/**
* @generated from protobuf field: string Reference = 19
*/
Reference: string;
} }
// //
// Handlingunit entity structure // 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: 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: 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: 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 { create(value?: PartialMessage<HandlingunitPayload>): HandlingunitPayload {
@@ -251,6 +256,7 @@ class HandlingunitPayload$Type extends MessageType<HandlingunitPayload> {
message.Claims = []; message.Claims = [];
message.ClaimNumber = 0; message.ClaimNumber = 0;
message.ParentHU = ""; message.ParentHU = "";
message.Reference = "";
if (value !== undefined) if (value !== undefined)
reflectionMergePartial<HandlingunitPayload>(this, message, value); reflectionMergePartial<HandlingunitPayload>(this, message, value);
return message; return message;
@@ -314,6 +320,9 @@ class HandlingunitPayload$Type extends MessageType<HandlingunitPayload> {
case /* string ParentHU */ 18: case /* string ParentHU */ 18:
message.ParentHU = reader.string(); message.ParentHU = reader.string();
break; break;
case /* string Reference */ 19:
message.Reference = reader.string();
break;
default: default:
let u = options.readUnknownField; let u = options.readUnknownField;
if (u === "throw") if (u === "throw")
@@ -380,6 +389,9 @@ class HandlingunitPayload$Type extends MessageType<HandlingunitPayload> {
/* string ParentHU = 18; */ /* string ParentHU = 18; */
if (message.ParentHU !== "") if (message.ParentHU !== "")
writer.tag(18, WireType.LengthDelimited).string(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; let u = options.writeUnknownFields;
if (u !== false) if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -49,6 +49,10 @@ export interface HandlingunitGoodsPreparedPayload {
* @generated from protobuf field: repeated api.MetadataElement MetaData = 3 * @generated from protobuf field: repeated api.MetadataElement MetaData = 3
*/ */
MetaData: MetadataElement[]; MetaData: MetadataElement[];
/**
* @generated from protobuf field: string Reference = 4
*/
Reference: string;
} }
/** /**
* @generated from protobuf message api.HandlingunitGoodsPreparedEvent * @generated from protobuf message api.HandlingunitGoodsPreparedEvent
@@ -129,6 +133,10 @@ export interface HandlingunitHUsAddedPayload {
* @generated from protobuf field: repeated api.MetadataElement MetaData = 4 * @generated from protobuf field: repeated api.MetadataElement MetaData = 4
*/ */
MetaData: MetadataElement[]; MetaData: MetadataElement[];
/**
* @generated from protobuf field: string Reference = 5
*/
Reference: string;
} }
/** /**
* @generated from protobuf message api.HandlingunitHUsAddedEvent * @generated from protobuf message api.HandlingunitHUsAddedEvent
@@ -438,6 +446,10 @@ export interface HandlingunitGoodsReceivedPayload {
* @generated from protobuf field: repeated api.QuantifiedDatedGoodsByExeflow ReceivedContents = 1 * @generated from protobuf field: repeated api.QuantifiedDatedGoodsByExeflow ReceivedContents = 1
*/ */
ReceivedContents: QuantifiedDatedGoodsByExeflow[]; ReceivedContents: QuantifiedDatedGoodsByExeflow[];
/**
* @generated from protobuf field: string Reference = 2
*/
Reference: string;
} }
/** /**
* @generated from protobuf message api.HandlingunitGoodsReceivedEvent * @generated from protobuf message api.HandlingunitGoodsReceivedEvent
@@ -1006,13 +1018,15 @@ class HandlingunitGoodsPreparedPayload$Type extends MessageType<HandlingunitGood
super("api.HandlingunitGoodsPreparedPayload", [ super("api.HandlingunitGoodsPreparedPayload", [
{ no: 1, name: "Information", kind: "message", localName: "Information", jsonName: "Information", T: () => HandlingunitInformation }, { no: 1, name: "Information", kind: "message", localName: "Information", jsonName: "Information", T: () => HandlingunitInformation },
{ no: 2, name: "PreparedContents", kind: "message", localName: "PreparedContents", jsonName: "PreparedContents", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantifiedGoodsByExeflow, options: { "n1validate.rules": { repeated: { minItems: "1" } } } }, { 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" }); ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "GoodsPrepared" });
} }
create(value?: PartialMessage<HandlingunitGoodsPreparedPayload>): HandlingunitGoodsPreparedPayload { create(value?: PartialMessage<HandlingunitGoodsPreparedPayload>): HandlingunitGoodsPreparedPayload {
const message = globalThis.Object.create((this.messagePrototype!)); const message = globalThis.Object.create((this.messagePrototype!));
message.PreparedContents = []; message.PreparedContents = [];
message.MetaData = []; message.MetaData = [];
message.Reference = "";
if (value !== undefined) if (value !== undefined)
reflectionMergePartial<HandlingunitGoodsPreparedPayload>(this, message, value); reflectionMergePartial<HandlingunitGoodsPreparedPayload>(this, message, value);
return message; return message;
@@ -1031,6 +1045,9 @@ class HandlingunitGoodsPreparedPayload$Type extends MessageType<HandlingunitGood
case /* repeated api.MetadataElement MetaData */ 3: case /* repeated api.MetadataElement MetaData */ 3:
message.MetaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options)); message.MetaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
break; break;
case /* string Reference */ 4:
message.Reference = reader.string();
break;
default: default:
let u = options.readUnknownField; let u = options.readUnknownField;
if (u === "throw") if (u === "throw")
@@ -1052,6 +1069,9 @@ class HandlingunitGoodsPreparedPayload$Type extends MessageType<HandlingunitGood
/* repeated api.MetadataElement MetaData = 3; */ /* repeated api.MetadataElement MetaData = 3; */
for (let i = 0; i < message.MetaData.length; i++) for (let i = 0; i < message.MetaData.length; i++)
MetadataElement.internalBinaryWrite(message.MetaData[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join(); MetadataElement.internalBinaryWrite(message.MetaData[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* string Reference = 4; */
if (message.Reference !== "")
writer.tag(4, WireType.LengthDelimited).string(message.Reference);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
if (u !== false) if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1241,13 +1261,15 @@ class HandlingunitHUsAddedPayload$Type extends MessageType<HandlingunitHUsAddedP
super("api.HandlingunitHUsAddedPayload", [ super("api.HandlingunitHUsAddedPayload", [
{ no: 1, name: "Information", kind: "message", localName: "Information", jsonName: "Information", T: () => HandlingunitInformation }, { no: 1, name: "Information", kind: "message", localName: "Information", jsonName: "Information", T: () => 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: 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" }); ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "HUsAdded" });
} }
create(value?: PartialMessage<HandlingunitHUsAddedPayload>): HandlingunitHUsAddedPayload { create(value?: PartialMessage<HandlingunitHUsAddedPayload>): HandlingunitHUsAddedPayload {
const message = globalThis.Object.create((this.messagePrototype!)); const message = globalThis.Object.create((this.messagePrototype!));
message.IncludedHandlingunitIDs = []; message.IncludedHandlingunitIDs = [];
message.MetaData = []; message.MetaData = [];
message.Reference = "";
if (value !== undefined) if (value !== undefined)
reflectionMergePartial<HandlingunitHUsAddedPayload>(this, message, value); reflectionMergePartial<HandlingunitHUsAddedPayload>(this, message, value);
return message; return message;
@@ -1266,6 +1288,9 @@ class HandlingunitHUsAddedPayload$Type extends MessageType<HandlingunitHUsAddedP
case /* repeated api.MetadataElement MetaData */ 4: case /* repeated api.MetadataElement MetaData */ 4:
message.MetaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options)); message.MetaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
break; break;
case /* string Reference */ 5:
message.Reference = reader.string();
break;
default: default:
let u = options.readUnknownField; let u = options.readUnknownField;
if (u === "throw") if (u === "throw")
@@ -1287,6 +1312,9 @@ class HandlingunitHUsAddedPayload$Type extends MessageType<HandlingunitHUsAddedP
/* repeated api.MetadataElement MetaData = 4; */ /* repeated api.MetadataElement MetaData = 4; */
for (let i = 0; i < message.MetaData.length; i++) for (let i = 0; i < message.MetaData.length; i++)
MetadataElement.internalBinaryWrite(message.MetaData[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join(); MetadataElement.internalBinaryWrite(message.MetaData[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* string Reference = 5; */
if (message.Reference !== "")
writer.tag(5, WireType.LengthDelimited).string(message.Reference);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
if (u !== false) if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2357,12 +2385,14 @@ export const HandlingunitDispatchedResponse = new HandlingunitDispatchedResponse
class HandlingunitGoodsReceivedPayload$Type extends MessageType<HandlingunitGoodsReceivedPayload> { class HandlingunitGoodsReceivedPayload$Type extends MessageType<HandlingunitGoodsReceivedPayload> {
constructor() { constructor() {
super("api.HandlingunitGoodsReceivedPayload", [ 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" }); ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "GoodsReceived" });
} }
create(value?: PartialMessage<HandlingunitGoodsReceivedPayload>): HandlingunitGoodsReceivedPayload { create(value?: PartialMessage<HandlingunitGoodsReceivedPayload>): HandlingunitGoodsReceivedPayload {
const message = globalThis.Object.create((this.messagePrototype!)); const message = globalThis.Object.create((this.messagePrototype!));
message.ReceivedContents = []; message.ReceivedContents = [];
message.Reference = "";
if (value !== undefined) if (value !== undefined)
reflectionMergePartial<HandlingunitGoodsReceivedPayload>(this, message, value); reflectionMergePartial<HandlingunitGoodsReceivedPayload>(this, message, value);
return message; return message;
@@ -2375,6 +2405,9 @@ class HandlingunitGoodsReceivedPayload$Type extends MessageType<HandlingunitGood
case /* repeated api.QuantifiedDatedGoodsByExeflow ReceivedContents */ 1: case /* repeated api.QuantifiedDatedGoodsByExeflow ReceivedContents */ 1:
message.ReceivedContents.push(QuantifiedDatedGoodsByExeflow.internalBinaryRead(reader, reader.uint32(), options)); message.ReceivedContents.push(QuantifiedDatedGoodsByExeflow.internalBinaryRead(reader, reader.uint32(), options));
break; break;
case /* string Reference */ 2:
message.Reference = reader.string();
break;
default: default:
let u = options.readUnknownField; let u = options.readUnknownField;
if (u === "throw") if (u === "throw")
@@ -2390,6 +2423,9 @@ class HandlingunitGoodsReceivedPayload$Type extends MessageType<HandlingunitGood
/* repeated api.QuantifiedDatedGoodsByExeflow ReceivedContents = 1; */ /* repeated api.QuantifiedDatedGoodsByExeflow ReceivedContents = 1; */
for (let i = 0; i < message.ReceivedContents.length; i++) for (let i = 0; i < message.ReceivedContents.length; i++)
QuantifiedDatedGoodsByExeflow.internalBinaryWrite(message.ReceivedContents[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); QuantifiedDatedGoodsByExeflow.internalBinaryWrite(message.ReceivedContents[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string Reference = 2; */
if (message.Reference !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Reference);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
if (u !== false) if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -1,6 +1,6 @@
{ {
"name": "@reflex-platform/npm-core-sdk", "name": "@reflex-platform/npm-core-sdk",
"version": "1.14.0-SNAPSHOT-260603073146", "version": "1.14.0-SNAPSHOT-260604080352",
"description": "npm libs from core model proto files", "description": "npm libs from core model proto files",
"homepage": "", "homepage": "",
"main": "index.ts", "main": "index.ts",