Latest generation

This commit is contained in:
ci core model
2025-06-05 09:47:25 +00:00
parent 43ea3fd866
commit da5b7d2295
3 changed files with 13 additions and 14 deletions

View File

@@ -10,7 +10,6 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime"; import type { PartialMessage } from "@protobuf-ts/runtime";
import { reflectionMergePartial } from "@protobuf-ts/runtime"; import { reflectionMergePartial } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime";
import { OrderLine } from "./tradeShared";
import { HandlingunitSummary } from "./warehousingShared"; import { HandlingunitSummary } from "./warehousingShared";
import { ExeFlowLine } from "./tradeShared"; import { ExeFlowLine } from "./tradeShared";
import { OrderRequestedMilestones } from "./tradeShared"; import { OrderRequestedMilestones } from "./tradeShared";
@@ -321,9 +320,9 @@ export interface ExecutionflowPropagateLinesToOrderPayload {
/** /**
* Lines of the order * 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 * @generated from protobuf message api.ExecutionflowPropagateLinesToOrder
@@ -1069,7 +1068,7 @@ export const ExecutionflowCreateDetectedOrder = new ExecutionflowCreateDetectedO
class ExecutionflowPropagateLinesToOrderPayload$Type extends MessageType<ExecutionflowPropagateLinesToOrderPayload> { class ExecutionflowPropagateLinesToOrderPayload$Type extends MessageType<ExecutionflowPropagateLinesToOrderPayload> {
constructor() { constructor() {
super("api.ExecutionflowPropagateLinesToOrderPayload", [ 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" }); ], { "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 { create(value?: PartialMessage<ExecutionflowPropagateLinesToOrderPayload>): ExecutionflowPropagateLinesToOrderPayload {
@@ -1084,8 +1083,8 @@ class ExecutionflowPropagateLinesToOrderPayload$Type extends MessageType<Executi
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* repeated api.OrderLine Lines */ 11: case /* repeated api.ExeFlowLine Lines */ 1:
message.Lines.push(OrderLine.internalBinaryRead(reader, reader.uint32(), options)); message.Lines.push(ExeFlowLine.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
let u = options.readUnknownField; let u = options.readUnknownField;
@@ -1099,9 +1098,9 @@ class ExecutionflowPropagateLinesToOrderPayload$Type extends MessageType<Executi
return message; return message;
} }
internalBinaryWrite(message: ExecutionflowPropagateLinesToOrderPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { 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++) 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; let u = options.writeUnknownFields;
if (u !== false) if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -122,7 +122,7 @@ export interface OrderPropagateLinesToExecutionflowPayload {
/** /**
* Lines of the order * Lines of the order
* *
* @generated from protobuf field: repeated api.OrderLine Lines = 11 * @generated from protobuf field: repeated api.OrderLine Lines = 1
*/ */
Lines: OrderLine[]; Lines: OrderLine[];
} }
@@ -356,7 +356,7 @@ export const OrderBuildExecutionflow = new OrderBuildExecutionflow$Type();
class OrderPropagateLinesToExecutionflowPayload$Type extends MessageType<OrderPropagateLinesToExecutionflowPayload> { class OrderPropagateLinesToExecutionflowPayload$Type extends MessageType<OrderPropagateLinesToExecutionflowPayload> {
constructor() { constructor() {
super("api.OrderPropagateLinesToExecutionflowPayload", [ super("api.OrderPropagateLinesToExecutionflowPayload", [
{ 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: () => OrderLine, 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: "Propagate lines from Order to Executionflow" } }, "api.messageType": "Command", "api.payload": true, "api.action": "PropagateLinesToExecutionflow" }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Propagate lines from Order to Executionflow" } }, "api.messageType": "Command", "api.payload": true, "api.action": "PropagateLinesToExecutionflow" });
} }
create(value?: PartialMessage<OrderPropagateLinesToExecutionflowPayload>): OrderPropagateLinesToExecutionflowPayload { create(value?: PartialMessage<OrderPropagateLinesToExecutionflowPayload>): OrderPropagateLinesToExecutionflowPayload {
@@ -371,7 +371,7 @@ class OrderPropagateLinesToExecutionflowPayload$Type extends MessageType<OrderPr
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* repeated api.OrderLine Lines */ 11: case /* repeated api.OrderLine Lines */ 1:
message.Lines.push(OrderLine.internalBinaryRead(reader, reader.uint32(), options)); message.Lines.push(OrderLine.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
@@ -386,9 +386,9 @@ class OrderPropagateLinesToExecutionflowPayload$Type extends MessageType<OrderPr
return message; return message;
} }
internalBinaryWrite(message: OrderPropagateLinesToExecutionflowPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: OrderPropagateLinesToExecutionflowPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated api.OrderLine Lines = 11; */ /* repeated api.OrderLine Lines = 1; */
for (let i = 0; i < message.Lines.length; i++) for (let i = 0; i < message.Lines.length; i++)
OrderLine.internalBinaryWrite(message.Lines[i], writer.tag(11, WireType.LengthDelimited).fork(), options).join(); OrderLine.internalBinaryWrite(message.Lines[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
if (u !== false) if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -1,6 +1,6 @@
{ {
"name": "@reflex-platform/npm-core-sdk", "name": "@reflex-platform/npm-core-sdk",
"version": "1.11.0-SNAPSHOT-250605092750", "version": "1.11.0-SNAPSHOT-250605094646",
"description": "npm libs from core model proto files", "description": "npm libs from core model proto files",
"homepage": "", "homepage": "",
"main": "index.ts", "main": "index.ts",