You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -73,6 +73,10 @@ export interface HandlingunitMapContentToExecutionFlowPayload {
|
||||
* @generated from protobuf field: repeated api.QuantifiedDatedGoodsByExeflow ReceivedContents = 9
|
||||
*/
|
||||
ReceivedContents: QuantifiedDatedGoodsByExeflow[];
|
||||
/**
|
||||
* @generated from protobuf field: string Reference = 10
|
||||
*/
|
||||
Reference: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.HandlingunitMapContentToExecutionFlow
|
||||
@@ -126,6 +130,10 @@ export interface HandlingunitMapTrackingToExecutionFlowPayload {
|
||||
* @generated from protobuf field: repeated string TrackingIDs = 11
|
||||
*/
|
||||
TrackingIDs: string[];
|
||||
/**
|
||||
* @generated from protobuf field: string Reference = 12
|
||||
*/
|
||||
Reference: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.HandlingunitMapTrackingToExecutionFlow
|
||||
@@ -393,7 +401,8 @@ class HandlingunitMapContentToExecutionFlowPayload$Type extends MessageType<Hand
|
||||
{ no: 6, name: "CurrentTrackingSummary", kind: "message", localName: "CurrentTrackingSummary", jsonName: "CurrentTrackingSummary", T: () => TrackingSummary },
|
||||
{ no: 7, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => HandlingunitStatusStruct },
|
||||
{ no: 8, 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: 9, name: "ReceivedContents", kind: "message", localName: "ReceivedContents", jsonName: "ReceivedContents", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantifiedDatedGoodsByExeflow }
|
||||
{ no: 9, name: "ReceivedContents", kind: "message", localName: "ReceivedContents", jsonName: "ReceivedContents", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantifiedDatedGoodsByExeflow },
|
||||
{ no: 10, name: "Reference", kind: "scalar", localName: "Reference", jsonName: "Reference", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "api.messageType": "Command", "api.payload": true, "api.action": "MapContentToExecutionFlow" });
|
||||
}
|
||||
create(value?: PartialMessage<HandlingunitMapContentToExecutionFlowPayload>): HandlingunitMapContentToExecutionFlowPayload {
|
||||
@@ -404,6 +413,7 @@ class HandlingunitMapContentToExecutionFlowPayload$Type extends MessageType<Hand
|
||||
message.IncludedHandlingunitIDs = [];
|
||||
message.MetaData = [];
|
||||
message.ReceivedContents = [];
|
||||
message.Reference = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<HandlingunitMapContentToExecutionFlowPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -440,6 +450,9 @@ class HandlingunitMapContentToExecutionFlowPayload$Type extends MessageType<Hand
|
||||
case /* repeated api.QuantifiedDatedGoodsByExeflow ReceivedContents */ 9:
|
||||
message.ReceivedContents.push(QuantifiedDatedGoodsByExeflow.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* string Reference */ 10:
|
||||
message.Reference = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -479,6 +492,9 @@ class HandlingunitMapContentToExecutionFlowPayload$Type extends MessageType<Hand
|
||||
/* repeated api.QuantifiedDatedGoodsByExeflow ReceivedContents = 9; */
|
||||
for (let i = 0; i < message.ReceivedContents.length; i++)
|
||||
QuantifiedDatedGoodsByExeflow.internalBinaryWrite(message.ReceivedContents[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string Reference = 10; */
|
||||
if (message.Reference !== "")
|
||||
writer.tag(10, WireType.LengthDelimited).string(message.Reference);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -571,7 +587,8 @@ class HandlingunitMapTrackingToExecutionFlowPayload$Type extends MessageType<Han
|
||||
{ no: 2, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => HandlingunitStatusStruct },
|
||||
{ no: 3, name: "PreparedContents", kind: "message", localName: "PreparedContents", jsonName: "PreparedContents", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantifiedGoodsByExeflow },
|
||||
{ no: 4, name: "ReceivedContents", kind: "message", localName: "ReceivedContents", jsonName: "ReceivedContents", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantifiedDatedGoodsByExeflow },
|
||||
{ no: 11, name: "TrackingIDs", kind: "scalar", localName: "TrackingIDs", jsonName: "TrackingIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 11, name: "TrackingIDs", kind: "scalar", localName: "TrackingIDs", jsonName: "TrackingIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 12, name: "Reference", kind: "scalar", localName: "Reference", jsonName: "Reference", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "api.messageType": "Command", "api.payload": true, "api.action": "MapTrackingToExecutionFlow" });
|
||||
}
|
||||
create(value?: PartialMessage<HandlingunitMapTrackingToExecutionFlowPayload>): HandlingunitMapTrackingToExecutionFlowPayload {
|
||||
@@ -579,6 +596,7 @@ class HandlingunitMapTrackingToExecutionFlowPayload$Type extends MessageType<Han
|
||||
message.PreparedContents = [];
|
||||
message.ReceivedContents = [];
|
||||
message.TrackingIDs = [];
|
||||
message.Reference = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<HandlingunitMapTrackingToExecutionFlowPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -603,6 +621,9 @@ class HandlingunitMapTrackingToExecutionFlowPayload$Type extends MessageType<Han
|
||||
case /* repeated string TrackingIDs */ 11:
|
||||
message.TrackingIDs.push(reader.string());
|
||||
break;
|
||||
case /* string Reference */ 12:
|
||||
message.Reference = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -630,6 +651,9 @@ class HandlingunitMapTrackingToExecutionFlowPayload$Type extends MessageType<Han
|
||||
/* repeated string TrackingIDs = 11; */
|
||||
for (let i = 0; i < message.TrackingIDs.length; i++)
|
||||
writer.tag(11, WireType.LengthDelimited).string(message.TrackingIDs[i]);
|
||||
/* string Reference = 12; */
|
||||
if (message.Reference !== "")
|
||||
writer.tag(12, WireType.LengthDelimited).string(message.Reference);
|
||||
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-260805094455",
|
||||
"version": "1.15.0-SNAPSHOT-260807132719",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -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