You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -788,6 +788,10 @@ export interface OrderExecutionflowUpdatedPayload {
|
||||
* @generated from protobuf field: repeated api.ExecutionflowSummary ExecutionflowSummary = 1
|
||||
*/
|
||||
ExecutionflowSummary: ExecutionflowSummary[];
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.OrderLine Lines = 2
|
||||
*/
|
||||
Lines: OrderLine[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.OrderExecutionflowUpdatedEvent
|
||||
@@ -4322,12 +4326,14 @@ export const OrderCompletedResponse = new OrderCompletedResponse$Type();
|
||||
class OrderExecutionflowUpdatedPayload$Type extends MessageType<OrderExecutionflowUpdatedPayload> {
|
||||
constructor() {
|
||||
super("api.OrderExecutionflowUpdatedPayload", [
|
||||
{ no: 1, name: "ExecutionflowSummary", kind: "message", localName: "ExecutionflowSummary", jsonName: "ExecutionflowSummary", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExecutionflowSummary, options: { "api.aggKey": "ExecutionflowID" } }
|
||||
{ no: 1, name: "ExecutionflowSummary", kind: "message", localName: "ExecutionflowSummary", jsonName: "ExecutionflowSummary", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExecutionflowSummary, options: { "api.aggKey": "ExecutionflowID" } },
|
||||
{ no: 2, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OrderLine, options: { "api.aggSkip": "ExecutionflowUpdated" } }
|
||||
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ExecutionflowUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<OrderExecutionflowUpdatedPayload>): OrderExecutionflowUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ExecutionflowSummary = [];
|
||||
message.Lines = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<OrderExecutionflowUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -4340,6 +4346,9 @@ class OrderExecutionflowUpdatedPayload$Type extends MessageType<OrderExecutionfl
|
||||
case /* repeated api.ExecutionflowSummary ExecutionflowSummary */ 1:
|
||||
message.ExecutionflowSummary.push(ExecutionflowSummary.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.OrderLine Lines */ 2:
|
||||
message.Lines.push(OrderLine.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -4355,6 +4364,9 @@ class OrderExecutionflowUpdatedPayload$Type extends MessageType<OrderExecutionfl
|
||||
/* repeated api.ExecutionflowSummary ExecutionflowSummary = 1; */
|
||||
for (let i = 0; i < message.ExecutionflowSummary.length; i++)
|
||||
ExecutionflowSummary.internalBinaryWrite(message.ExecutionflowSummary[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.OrderLine Lines = 2; */
|
||||
for (let i = 0; i < message.Lines.length; i++)
|
||||
OrderLine.internalBinaryWrite(message.Lines[i], writer.tag(2, 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