You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -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<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" }, "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>): HandlingunitPayload {
|
||||
@@ -263,6 +268,7 @@ class HandlingunitPayload$Type extends MessageType<HandlingunitPayload> {
|
||||
message.ParentHU = "";
|
||||
message.Reference = "";
|
||||
message.MyTrackingID = "";
|
||||
message.ParentHUReference = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<HandlingunitPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -332,6 +338,9 @@ class HandlingunitPayload$Type extends MessageType<HandlingunitPayload> {
|
||||
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<HandlingunitPayload> {
|
||||
/* 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);
|
||||
|
||||
@@ -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<HandlingunitParentHUUpdatedPayload> {
|
||||
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>): HandlingunitParentHUUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ParentHU = "";
|
||||
message.ParentHUReference = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<HandlingunitParentHUUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -3303,6 +3309,9 @@ class HandlingunitParentHUUpdatedPayload$Type extends MessageType<HandlingunitPa
|
||||
case /* string ParentHU */ 1:
|
||||
message.ParentHU = reader.string();
|
||||
break;
|
||||
case /* string ParentHUReference */ 2:
|
||||
message.ParentHUReference = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -3318,6 +3327,9 @@ class HandlingunitParentHUUpdatedPayload$Type extends MessageType<HandlingunitPa
|
||||
/* string ParentHU = 1; */
|
||||
if (message.ParentHU !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ParentHU);
|
||||
/* string ParentHUReference = 2; */
|
||||
if (message.ParentHUReference !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.ParentHUReference);
|
||||
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-260826080514",
|
||||
"version": "1.15.0-SNAPSHOT-260827084837",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
Reference in New Issue
Block a user