You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -128,6 +128,10 @@ export interface HandlingunitPayload {
|
||||
* @generated from protobuf field: string Reference = 19
|
||||
*/
|
||||
Reference: string;
|
||||
/**
|
||||
* @generated from protobuf field: string MyTrackingID = 20
|
||||
*/
|
||||
MyTrackingID: string;
|
||||
}
|
||||
//
|
||||
// Handlingunit entity structure
|
||||
@@ -239,7 +243,8 @@ class HandlingunitPayload$Type extends MessageType<HandlingunitPayload> {
|
||||
{ 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: 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: 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.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<HandlingunitPayload>): HandlingunitPayload {
|
||||
@@ -257,6 +262,7 @@ class HandlingunitPayload$Type extends MessageType<HandlingunitPayload> {
|
||||
message.ClaimNumber = 0;
|
||||
message.ParentHU = "";
|
||||
message.Reference = "";
|
||||
message.MyTrackingID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<HandlingunitPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -323,6 +329,9 @@ class HandlingunitPayload$Type extends MessageType<HandlingunitPayload> {
|
||||
case /* string Reference */ 19:
|
||||
message.Reference = reader.string();
|
||||
break;
|
||||
case /* string MyTrackingID */ 20:
|
||||
message.MyTrackingID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -392,6 +401,9 @@ class HandlingunitPayload$Type extends MessageType<HandlingunitPayload> {
|
||||
/* string Reference = 19; */
|
||||
if (message.Reference !== "")
|
||||
writer.tag(19, WireType.LengthDelimited).string(message.Reference);
|
||||
/* string MyTrackingID = 20; */
|
||||
if (message.MyTrackingID !== "")
|
||||
writer.tag(20, WireType.LengthDelimited).string(message.MyTrackingID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -207,6 +207,10 @@ export interface HandlingunitTrackingUpdatedPayload {
|
||||
* @generated from protobuf field: api.DateTime DispatchedDateTime = 10
|
||||
*/
|
||||
DispatchedDateTime?: DateTime;
|
||||
/**
|
||||
* @generated from protobuf field: string MyTrackingID = 11
|
||||
*/
|
||||
MyTrackingID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.HandlingunitTrackingUpdatedEvent
|
||||
@@ -1504,12 +1508,14 @@ class HandlingunitTrackingUpdatedPayload$Type extends MessageType<HandlingunitTr
|
||||
super("api.HandlingunitTrackingUpdatedPayload", [
|
||||
{ no: 1, name: "CurrentTrackingSummary", kind: "message", localName: "CurrentTrackingSummary", jsonName: "CurrentTrackingSummary", T: () => TrackingSummary },
|
||||
{ no: 2, name: "TrackingIDs", kind: "scalar", localName: "TrackingIDs", jsonName: "TrackingIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "DispatchedDateTime", kind: "message", localName: "DispatchedDateTime", jsonName: "DispatchedDateTime", T: () => DateTime }
|
||||
{ no: 10, name: "DispatchedDateTime", kind: "message", localName: "DispatchedDateTime", jsonName: "DispatchedDateTime", T: () => DateTime },
|
||||
{ no: 11, name: "MyTrackingID", kind: "scalar", localName: "MyTrackingID", jsonName: "MyTrackingID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "TrackingUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<HandlingunitTrackingUpdatedPayload>): HandlingunitTrackingUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.TrackingIDs = [];
|
||||
message.MyTrackingID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<HandlingunitTrackingUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -1528,6 +1534,9 @@ class HandlingunitTrackingUpdatedPayload$Type extends MessageType<HandlingunitTr
|
||||
case /* api.DateTime DispatchedDateTime */ 10:
|
||||
message.DispatchedDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.DispatchedDateTime);
|
||||
break;
|
||||
case /* string MyTrackingID */ 11:
|
||||
message.MyTrackingID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1549,6 +1558,9 @@ class HandlingunitTrackingUpdatedPayload$Type extends MessageType<HandlingunitTr
|
||||
/* api.DateTime DispatchedDateTime = 10; */
|
||||
if (message.DispatchedDateTime)
|
||||
DateTime.internalBinaryWrite(message.DispatchedDateTime, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string MyTrackingID = 11; */
|
||||
if (message.MyTrackingID !== "")
|
||||
writer.tag(11, WireType.LengthDelimited).string(message.MyTrackingID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.15.0-SNAPSHOT-260824115411",
|
||||
"version": "1.15.0-SNAPSHOT-260824124347",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
Reference in New Issue
Block a user