You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -11,12 +11,12 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
|
||||
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
||||
import { MessageType } from "@protobuf-ts/runtime";
|
||||
import { HandlingunitSummary } from "./warehousingShared";
|
||||
import { OrderRequestedMilestones } from "./tradeShared";
|
||||
import { MetadataElement } from "./shared";
|
||||
import { DateTime } from "./shared";
|
||||
import { ETA } from "./tradeShared";
|
||||
import { EntityID } from "./shared";
|
||||
import { CommandHeader } from "./shared";
|
||||
import { OrderRequestedMilestones } from "./tradeShared";
|
||||
import { AppointmentSummary } from "./shared";
|
||||
import { ClaimSummary } from "./shared";
|
||||
import { AttachmentSummary } from "./shared";
|
||||
@@ -85,6 +85,10 @@ export interface ExecutionflowMapSummaryToOrderPayload {
|
||||
* @generated from protobuf field: repeated api.AppointmentSummary Appointments = 20
|
||||
*/
|
||||
Appointments: AppointmentSummary[];
|
||||
/**
|
||||
* @generated from protobuf field: api.OrderRequestedMilestones RequestedMilestones = 21
|
||||
*/
|
||||
RequestedMilestones?: OrderRequestedMilestones;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ExecutionflowMapSummaryToOrder
|
||||
@@ -377,7 +381,8 @@ class ExecutionflowMapSummaryToOrderPayload$Type extends MessageType<Executionfl
|
||||
{ no: 17, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/ },
|
||||
{ no: 18, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimSummary },
|
||||
{ no: 19, name: "ClaimNumber", kind: "scalar", localName: "ClaimNumber", jsonName: "ClaimNumber", T: 5 /*ScalarType.INT32*/ },
|
||||
{ no: 20, name: "Appointments", kind: "message", localName: "Appointments", jsonName: "Appointments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentSummary }
|
||||
{ no: 20, name: "Appointments", kind: "message", localName: "Appointments", jsonName: "Appointments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentSummary },
|
||||
{ no: 21, name: "RequestedMilestones", kind: "message", localName: "RequestedMilestones", jsonName: "RequestedMilestones", T: () => OrderRequestedMilestones }
|
||||
], { "api.messageType": "Command", "api.payload": true, "api.action": "MapSummaryToOrder" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowMapSummaryToOrderPayload>): ExecutionflowMapSummaryToOrderPayload {
|
||||
@@ -435,6 +440,9 @@ class ExecutionflowMapSummaryToOrderPayload$Type extends MessageType<Executionfl
|
||||
case /* repeated api.AppointmentSummary Appointments */ 20:
|
||||
message.Appointments.push(AppointmentSummary.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* api.OrderRequestedMilestones RequestedMilestones */ 21:
|
||||
message.RequestedMilestones = OrderRequestedMilestones.internalBinaryRead(reader, reader.uint32(), options, message.RequestedMilestones);
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -483,6 +491,9 @@ class ExecutionflowMapSummaryToOrderPayload$Type extends MessageType<Executionfl
|
||||
/* repeated api.AppointmentSummary Appointments = 20; */
|
||||
for (let i = 0; i < message.Appointments.length; i++)
|
||||
AppointmentSummary.internalBinaryWrite(message.Appointments[i], writer.tag(20, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.OrderRequestedMilestones RequestedMilestones = 21; */
|
||||
if (message.RequestedMilestones)
|
||||
OrderRequestedMilestones.internalBinaryWrite(message.RequestedMilestones, writer.tag(21, 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