You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -10,6 +10,7 @@ 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 { ExecutionflowSummary } from "./tradeShared";
|
||||
import { EntityID } from "./shared";
|
||||
import { CommandHeader } from "./shared";
|
||||
import { OrderLine } from "./tradeShared";
|
||||
@@ -175,6 +176,10 @@ export interface OrderRetrieveAnticipatedOrderShippedGoodsPayload {
|
||||
* @generated from protobuf field: bool Anticipated = 2
|
||||
*/
|
||||
Anticipated: boolean;
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.ExecutionflowSummary ExecutionflowSummary = 3
|
||||
*/
|
||||
ExecutionflowSummary: ExecutionflowSummary[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.OrderRetrieveAnticipatedOrderShippedGoods
|
||||
@@ -544,13 +549,15 @@ class OrderRetrieveAnticipatedOrderShippedGoodsPayload$Type extends MessageType<
|
||||
constructor() {
|
||||
super("api.OrderRetrieveAnticipatedOrderShippedGoodsPayload", [
|
||||
{ no: 1, 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: 2, name: "Anticipated", kind: "scalar", localName: "Anticipated", jsonName: "Anticipated", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Anticipated orders are not automatically associated to an executionflow" } } }
|
||||
{ no: 2, name: "Anticipated", kind: "scalar", localName: "Anticipated", jsonName: "Anticipated", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Anticipated orders are not automatically associated to an executionflow" } } },
|
||||
{ no: 3, name: "ExecutionflowSummary", kind: "message", localName: "ExecutionflowSummary", jsonName: "ExecutionflowSummary", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExecutionflowSummary, options: { "api.aggKey": "ExecutionflowID" } }
|
||||
], { "api.messageType": "Command", "api.payload": true, "api.action": "RetrieveAnticipatedOrderShippedGoods" });
|
||||
}
|
||||
create(value?: PartialMessage<OrderRetrieveAnticipatedOrderShippedGoodsPayload>): OrderRetrieveAnticipatedOrderShippedGoodsPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Lines = [];
|
||||
message.Anticipated = false;
|
||||
message.ExecutionflowSummary = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<OrderRetrieveAnticipatedOrderShippedGoodsPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -566,6 +573,9 @@ class OrderRetrieveAnticipatedOrderShippedGoodsPayload$Type extends MessageType<
|
||||
case /* bool Anticipated */ 2:
|
||||
message.Anticipated = reader.bool();
|
||||
break;
|
||||
case /* repeated api.ExecutionflowSummary ExecutionflowSummary */ 3:
|
||||
message.ExecutionflowSummary.push(ExecutionflowSummary.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -584,6 +594,9 @@ class OrderRetrieveAnticipatedOrderShippedGoodsPayload$Type extends MessageType<
|
||||
/* bool Anticipated = 2; */
|
||||
if (message.Anticipated !== false)
|
||||
writer.tag(2, WireType.Varint).bool(message.Anticipated);
|
||||
/* repeated api.ExecutionflowSummary ExecutionflowSummary = 3; */
|
||||
for (let i = 0; i < message.ExecutionflowSummary.length; i++)
|
||||
ExecutionflowSummary.internalBinaryWrite(message.ExecutionflowSummary[i], writer.tag(3, 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