You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -97,6 +97,10 @@ export interface HandlingunitSummary {
|
||||
* @generated from protobuf field: bool IsReported = 10
|
||||
*/
|
||||
IsReported: boolean;
|
||||
/**
|
||||
* @generated from protobuf field: string Reference = 11
|
||||
*/
|
||||
Reference: string;
|
||||
}
|
||||
//
|
||||
// describes most of the information of the HU (except the content) given by the WMS on the OutboundReport message.
|
||||
@@ -1184,7 +1188,8 @@ class HandlingunitSummary$Type extends MessageType<HandlingunitSummary> {
|
||||
{ no: 6, 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", "api.transientRef": "Handlingunit,Payload.MetaData,hard", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Order", Group: "order" }] }, "api.parentEntity": "Handlingunit" } },
|
||||
{ no: 7, name: "Contents", kind: "message", localName: "Contents", jsonName: "Contents", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantifiedGoodsByLine, options: { "api.aggSkip": "HUTrackingUpdated", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } },
|
||||
{ no: 9, name: "TrackingURL", kind: "scalar", localName: "TrackingURL", jsonName: "TrackingURL", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "IsReported", kind: "scalar", localName: "IsReported", jsonName: "IsReported", T: 8 /*ScalarType.BOOL*/ }
|
||||
{ no: 10, name: "IsReported", kind: "scalar", localName: "IsReported", jsonName: "IsReported", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 11, name: "Reference", kind: "scalar", localName: "Reference", jsonName: "Reference", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "All the information of the Handlingunit that is sent to the parent ExecutionFlow", required: ["HandlingunitID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<HandlingunitSummary>): HandlingunitSummary {
|
||||
@@ -1195,6 +1200,7 @@ class HandlingunitSummary$Type extends MessageType<HandlingunitSummary> {
|
||||
message.Contents = [];
|
||||
message.TrackingURL = "";
|
||||
message.IsReported = false;
|
||||
message.Reference = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<HandlingunitSummary>(this, message, value);
|
||||
return message;
|
||||
@@ -1225,6 +1231,9 @@ class HandlingunitSummary$Type extends MessageType<HandlingunitSummary> {
|
||||
case /* bool IsReported */ 10:
|
||||
message.IsReported = reader.bool();
|
||||
break;
|
||||
case /* string Reference */ 11:
|
||||
message.Reference = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1258,6 +1267,9 @@ class HandlingunitSummary$Type extends MessageType<HandlingunitSummary> {
|
||||
/* bool IsReported = 10; */
|
||||
if (message.IsReported !== false)
|
||||
writer.tag(10, WireType.Varint).bool(message.IsReported);
|
||||
/* string Reference = 11; */
|
||||
if (message.Reference !== "")
|
||||
writer.tag(11, WireType.LengthDelimited).string(message.Reference);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user