You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -17,6 +17,7 @@ import { DateTime } from "./shared";
|
||||
import { ETA } from "./tradeShared";
|
||||
import { EntityID } from "./shared";
|
||||
import { CommandHeader } from "./shared";
|
||||
import { AppointmentSummary } from "./shared";
|
||||
import { ClaimSummary } from "./shared";
|
||||
import { AttachmentSummary } from "./shared";
|
||||
import { ExeFlowLine } from "./tradeShared";
|
||||
@@ -80,6 +81,10 @@ export interface ExecutionflowMapSummaryToOrderPayload {
|
||||
* @generated from protobuf field: int32 ClaimNumber = 19
|
||||
*/
|
||||
ClaimNumber: number;
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.AppointmentSummary Appointments = 20
|
||||
*/
|
||||
Appointments: AppointmentSummary[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ExecutionflowMapSummaryToOrder
|
||||
@@ -371,7 +376,8 @@ class ExecutionflowMapSummaryToOrderPayload$Type extends MessageType<Executionfl
|
||||
{ no: 16, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary },
|
||||
{ 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: 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 }
|
||||
], { "api.messageType": "Command", "api.payload": true, "api.action": "MapSummaryToOrder" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowMapSummaryToOrderPayload>): ExecutionflowMapSummaryToOrderPayload {
|
||||
@@ -383,6 +389,7 @@ class ExecutionflowMapSummaryToOrderPayload$Type extends MessageType<Executionfl
|
||||
message.AttachmentNumber = 0;
|
||||
message.Claims = [];
|
||||
message.ClaimNumber = 0;
|
||||
message.Appointments = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowMapSummaryToOrderPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -425,6 +432,9 @@ class ExecutionflowMapSummaryToOrderPayload$Type extends MessageType<Executionfl
|
||||
case /* int32 ClaimNumber */ 19:
|
||||
message.ClaimNumber = reader.int32();
|
||||
break;
|
||||
case /* repeated api.AppointmentSummary Appointments */ 20:
|
||||
message.Appointments.push(AppointmentSummary.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -470,6 +480,9 @@ class ExecutionflowMapSummaryToOrderPayload$Type extends MessageType<Executionfl
|
||||
/* int32 ClaimNumber = 19; */
|
||||
if (message.ClaimNumber !== 0)
|
||||
writer.tag(19, WireType.Varint).int32(message.ClaimNumber);
|
||||
/* 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();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user