From 1b4a03ab8c1c3fd37fc2dc42531330249b5a1916 Mon Sep 17 00:00:00 2001 From: ci core model Date: Thu, 28 May 2026 09:22:05 +0000 Subject: [PATCH] Latest generation --- package.json | 2 +- tradeShared.ts | 29 ++++++++++++++++++++--------- 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 98215f61..28c2120b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.14.0-SNAPSHOT-260528081247", + "version": "1.14.0-SNAPSHOT-260528092109", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/tradeShared.ts b/tradeShared.ts index 1815f197..b6a1ebda 100644 --- a/tradeShared.ts +++ b/tradeShared.ts @@ -17,10 +17,10 @@ import { PartnerPayload } from "./partner"; import { Interlocutor } from "./repositoryShared"; import { ActorPayload } from "./actor"; import { QuantityByLV } from "./warehousingShared"; -import { QuantityInLV } from "./warehousingShared"; import { QuantityVolume } from "./shared"; import { QuantityWeight } from "./shared"; import { QuantifiedGoodsByHU } from "./warehousingShared"; +import { QuantityInLV } from "./warehousingShared"; import { MetadataElement } from "./shared"; import { QuantifiedRequestedGoods } from "./warehousingShared"; import { DateTime } from "./shared"; @@ -86,9 +86,13 @@ export interface OrderLine { */ RequestedMetrics?: GoodsMetrics; /** - * @generated from protobuf field: api.QuantifiedRequestedGoods ShippedContent = 5 + * @generated from protobuf field: api.QuantityInLV PreparedQuantity = 6 */ - ShippedContent?: QuantifiedRequestedGoods; + PreparedQuantity?: QuantityInLV; + /** + * @generated from protobuf field: api.QuantityInLV ReceivedQuantity = 7 + */ + ReceivedQuantity?: QuantityInLV; } /** * @generated from protobuf message api.OrderShippedLine @@ -751,7 +755,8 @@ class OrderLine$Type extends MessageType { { no: 2, name: "RequestedContent", kind: "message", localName: "RequestedContent", jsonName: "RequestedContent", T: () => QuantifiedRequestedGoods }, { no: 3, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] }, "api.parentEntity": "Order" } }, { no: 4, name: "RequestedMetrics", kind: "message", localName: "RequestedMetrics", jsonName: "RequestedMetrics", T: () => GoodsMetrics, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, - { no: 5, name: "ShippedContent", kind: "message", localName: "ShippedContent", jsonName: "ShippedContent", T: () => QuantifiedRequestedGoods, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } } + { no: 6, name: "PreparedQuantity", kind: "message", localName: "PreparedQuantity", jsonName: "PreparedQuantity", T: () => QuantityInLV, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, + { no: 7, name: "ReceivedQuantity", kind: "message", localName: "ReceivedQuantity", jsonName: "ReceivedQuantity", T: () => QuantityInLV, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } } ]); } create(value?: PartialMessage): OrderLine { @@ -779,8 +784,11 @@ class OrderLine$Type extends MessageType { case /* api.GoodsMetrics RequestedMetrics */ 4: message.RequestedMetrics = GoodsMetrics.internalBinaryRead(reader, reader.uint32(), options, message.RequestedMetrics); break; - case /* api.QuantifiedRequestedGoods ShippedContent */ 5: - message.ShippedContent = QuantifiedRequestedGoods.internalBinaryRead(reader, reader.uint32(), options, message.ShippedContent); + case /* api.QuantityInLV PreparedQuantity */ 6: + message.PreparedQuantity = QuantityInLV.internalBinaryRead(reader, reader.uint32(), options, message.PreparedQuantity); + break; + case /* api.QuantityInLV ReceivedQuantity */ 7: + message.ReceivedQuantity = QuantityInLV.internalBinaryRead(reader, reader.uint32(), options, message.ReceivedQuantity); break; default: let u = options.readUnknownField; @@ -806,9 +814,12 @@ class OrderLine$Type extends MessageType { /* api.GoodsMetrics RequestedMetrics = 4; */ if (message.RequestedMetrics) GoodsMetrics.internalBinaryWrite(message.RequestedMetrics, writer.tag(4, WireType.LengthDelimited).fork(), options).join(); - /* api.QuantifiedRequestedGoods ShippedContent = 5; */ - if (message.ShippedContent) - QuantifiedRequestedGoods.internalBinaryWrite(message.ShippedContent, writer.tag(5, WireType.LengthDelimited).fork(), options).join(); + /* api.QuantityInLV PreparedQuantity = 6; */ + if (message.PreparedQuantity) + QuantityInLV.internalBinaryWrite(message.PreparedQuantity, writer.tag(6, WireType.LengthDelimited).fork(), options).join(); + /* api.QuantityInLV ReceivedQuantity = 7; */ + if (message.ReceivedQuantity) + QuantityInLV.internalBinaryWrite(message.ReceivedQuantity, writer.tag(7, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);