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);
|
||||
|
||||
Reference in New Issue
Block a user