diff --git a/executionflow.ts b/executionflow.ts index af902c4b..9ba4b624 100644 --- a/executionflow.ts +++ b/executionflow.ts @@ -256,18 +256,18 @@ class ExecutionflowPayload$Type extends MessageType { { no: 6, name: "Carrier", kind: "message", jsonName: "Carrier", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of the order carrier" } } }, { no: 7, name: "CarrierService", kind: "scalar", jsonName: "CarrierService", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of carrier service" }, "api.dataRestrictionKey": "Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] } } }, { no: 8, name: "RequestedMilestones", kind: "message", jsonName: "RequestedMilestones", T: () => OrderRequestedMilestones }, - { no: 9, name: "Lines", kind: "message", jsonName: "Lines", repeat: 1 /*RepeatType.PACKED*/, T: () => ExeFlowLine, options: { "api.aggKey": "LineID" } }, - { no: 11, name: "Handlingunits", kind: "message", jsonName: "Handlingunits", repeat: 1 /*RepeatType.PACKED*/, T: () => HandlingunitSummary, options: { "api.aggKey": "HandlingunitID", "api.aggAppend": "HUContentUpdated,HUTrackingUpdated" } }, - { no: 13, name: "Status", kind: "message", jsonName: "Status", T: () => ExecutionflowStatusStruct, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, + { no: 9, name: "Lines", kind: "message", jsonName: "Lines", repeat: 1 /*RepeatType.PACKED*/, T: () => ExeFlowLine, options: { "api.aggKey": "LineID", "api.indexationSkip": true } }, + { no: 11, name: "Handlingunits", kind: "message", jsonName: "Handlingunits", repeat: 1 /*RepeatType.PACKED*/, T: () => HandlingunitSummary, options: { "api.aggKey": "HandlingunitID", "api.aggAppend": "HUContentUpdated,HUTrackingUpdated", "api.indexationSkip": true } }, + { no: 13, name: "Status", kind: "message", jsonName: "Status", T: () => ExecutionflowStatusStruct, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.indexationSkip": true } }, { no: 14, name: "ShipFromAcked", kind: "scalar", jsonName: "ShipFromAcked", T: 8 /*ScalarType.BOOL*/ }, { no: 15, name: "ShipToAcked", kind: "scalar", jsonName: "ShipToAcked", T: 8 /*ScalarType.BOOL*/ }, - { no: 16, name: "Attachments", kind: "message", jsonName: "Attachments", repeat: 1 /*RepeatType.PACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments per type" }, "api.aggSkip": "AttachmentAdded,AttachmentRemoved" } }, + { no: 16, name: "Attachments", kind: "message", jsonName: "Attachments", repeat: 1 /*RepeatType.PACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments per type" }, "api.aggSkip": "AttachmentAdded,AttachmentRemoved", "api.indexationSkip": true } }, { no: 17, name: "AttachmentNumber", kind: "scalar", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" } } }, - { no: 18, name: "Claims", kind: "message", jsonName: "Claims", repeat: 1 /*RepeatType.PACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims per type" }, "api.aggKey": "ClaimTypeID", "api.aggSkip": "ClaimAdded" } }, + { no: 18, name: "Claims", kind: "message", jsonName: "Claims", repeat: 1 /*RepeatType.PACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims per type" }, "api.aggKey": "ClaimTypeID", "api.aggSkip": "ClaimAdded", "api.indexationSkip": true } }, { no: 19, name: "ClaimNumber", kind: "scalar", jsonName: "ClaimNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of claims" } } }, - { no: 20, name: "HandlingunitETAs", kind: "message", jsonName: "HandlingunitETAs", repeat: 1 /*RepeatType.PACKED*/, T: () => ETAbyHU, options: { "api.aggKey": "HandlingunitID", "api.aggSkip": "HUETAUpdated", "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }] } } }, - { no: 21, name: "ExecutionflowETA", kind: "message", jsonName: "ExecutionflowETA", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Estimated Time of Arrival received directly for the Executionflow" }, "api.aggSkip": "ETAUpdated", "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }] } } }, - { no: 22, name: "ExecutionflowETAComputed", kind: "message", jsonName: "ExecutionflowETAComputed", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } } + { no: 20, name: "HandlingunitETAs", kind: "message", jsonName: "HandlingunitETAs", repeat: 1 /*RepeatType.PACKED*/, T: () => ETAbyHU, options: { "api.aggKey": "HandlingunitID", "api.aggSkip": "HUETAUpdated", "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }] }, "api.indexationSkip": true } }, + { no: 21, name: "ExecutionflowETA", kind: "message", jsonName: "ExecutionflowETA", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Estimated Time of Arrival received directly for the Executionflow" }, "api.aggSkip": "ETAUpdated", "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }] }, "api.indexationSkip": true } }, + { no: 22, name: "ExecutionflowETAComputed", kind: "message", jsonName: "ExecutionflowETAComputed", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.indexationSkip": true } } ]); } create(value?: PartialMessage): ExecutionflowPayload { diff --git a/package.json b/package.json index 77b9df0d..e6d16563 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.10.0-SNAPSHOT-250331131408", + "version": "1.10.0-SNAPSHOT-250401091740", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/stock.ts b/stock.ts index 968595a8..781cb2b7 100644 --- a/stock.ts +++ b/stock.ts @@ -215,7 +215,7 @@ class StockPayload$Type extends MessageType { { no: 7, name: "QuantityInBaseLV", kind: "message", jsonName: "QuantityInBaseLV", T: () => QuantityInLV, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, { no: 8, name: "QuantityByLVs", kind: "message", jsonName: "QuantityByLVs", repeat: 1 /*RepeatType.PACKED*/, T: () => QuantityByLV, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggKey": "LVID" } }, { no: 9, name: "LVDetailledQuantity", kind: "scalar", jsonName: "LVDetailledQuantity", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, - { no: 10, name: "LatestMovements", kind: "message", jsonName: "LatestMovements", repeat: 1 /*RepeatType.PACKED*/, T: () => StockMovement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggKey": "ID", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }] } } }, + { no: 10, name: "LatestMovements", kind: "message", jsonName: "LatestMovements", repeat: 1 /*RepeatType.PACKED*/, T: () => StockMovement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggKey": "ID", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }] }, "api.indexationSkip": true } }, { no: 11, name: "RequestedStockValue", kind: "scalar", jsonName: "RequestedStockValue", T: 1 /*ScalarType.DOUBLE*/, options: { "validate.rules": { double: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.kpiItems": { Items: [{ Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "AggregateFunction(sum,Decimal64(6))" }] } } }, { no: 12, name: "ToReceiveStockValue", kind: "scalar", jsonName: "ToReceiveStockValue", T: 1 /*ScalarType.DOUBLE*/, options: { "validate.rules": { double: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.kpiItems": { Items: [{ Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "AggregateFunction(sum,Decimal64(6))" }] } } }, { no: 13, name: "LastUpdateStockDateTime", kind: "scalar", jsonName: "LastUpdateStockDateTime", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.indexationType": { Types: [{ Context: "Stock", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Stock", Group: "stock_extended", CustomType: "SimpleAggregateFunction(max,DateTime)" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } },