You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -10,7 +10,6 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
||||
import type { PartialMessage } from "@protobuf-ts/runtime";
|
||||
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
||||
import { MessageType } from "@protobuf-ts/runtime";
|
||||
import { OrderLine } from "./tradeShared";
|
||||
import { HandlingunitSummary } from "./warehousingShared";
|
||||
import { ExeFlowLine } from "./tradeShared";
|
||||
import { OrderRequestedMilestones } from "./tradeShared";
|
||||
@@ -321,9 +320,9 @@ export interface ExecutionflowPropagateLinesToOrderPayload {
|
||||
/**
|
||||
* Lines of the order
|
||||
*
|
||||
* @generated from protobuf field: repeated api.OrderLine Lines = 11
|
||||
* @generated from protobuf field: repeated api.ExeFlowLine Lines = 1
|
||||
*/
|
||||
Lines: OrderLine[];
|
||||
Lines: ExeFlowLine[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ExecutionflowPropagateLinesToOrder
|
||||
@@ -1069,7 +1068,7 @@ export const ExecutionflowCreateDetectedOrder = new ExecutionflowCreateDetectedO
|
||||
class ExecutionflowPropagateLinesToOrderPayload$Type extends MessageType<ExecutionflowPropagateLinesToOrderPayload> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowPropagateLinesToOrderPayload", [
|
||||
{ no: 11, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OrderLine, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Lines of the order" }, "api.aggKey": "LineID" } }
|
||||
{ no: 1, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExeFlowLine, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Lines of the order" }, "api.aggKey": "LineID" } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Propagates lines from Executionflow to Order" } }, "api.messageType": "Command", "api.payload": true, "api.action": "PropagateLinesToOrder" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowPropagateLinesToOrderPayload>): ExecutionflowPropagateLinesToOrderPayload {
|
||||
@@ -1084,8 +1083,8 @@ class ExecutionflowPropagateLinesToOrderPayload$Type extends MessageType<Executi
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated api.OrderLine Lines */ 11:
|
||||
message.Lines.push(OrderLine.internalBinaryRead(reader, reader.uint32(), options));
|
||||
case /* repeated api.ExeFlowLine Lines */ 1:
|
||||
message.Lines.push(ExeFlowLine.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -1099,9 +1098,9 @@ class ExecutionflowPropagateLinesToOrderPayload$Type extends MessageType<Executi
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ExecutionflowPropagateLinesToOrderPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated api.OrderLine Lines = 11; */
|
||||
/* repeated api.ExeFlowLine Lines = 1; */
|
||||
for (let i = 0; i < message.Lines.length; i++)
|
||||
OrderLine.internalBinaryWrite(message.Lines[i], writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
||||
ExeFlowLine.internalBinaryWrite(message.Lines[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user