Latest generation

This commit is contained in:
ci core model
2026-03-03 09:54:47 +00:00
parent fdcee697b5
commit daf9449224
4 changed files with 16 additions and 4 deletions

View File

@@ -248,7 +248,7 @@ class OrderPayload$Type extends MessageType<OrderPayload> {
{ no: 1, name: "CreationDateTime", kind: "message", localName: "CreationDateTime", jsonName: "CreationDateTime", T: () => DateTime, options: { "api.aggSkip": "ExecutionflowDetected" } },
{ no: 2, name: "ParentOrder", kind: "message", localName: "ParentOrder", jsonName: "ParentOrder", T: () => ReferencedID },
{ no: 3, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } },
{ no: 4, 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: "Order", Group: "order" }] }, "api.aggAppend": "MetaDataUpdated,ExecutionflowDetected" } },
{ no: 4, 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: "Order", Group: "order" }] }, "api.parentEntity": "Order", "api.aggAppend": "MetaDataUpdated,ExecutionflowDetected" } },
{ no: 5, name: "Buyer", kind: "message", localName: "Buyer", jsonName: "Buyer", T: () => TradeTier },
{ no: 6, name: "Seller", kind: "message", localName: "Seller", jsonName: "Seller", T: () => TradeTier },
{ no: 7, name: "ShipFrom", kind: "message", localName: "ShipFrom", jsonName: "ShipFrom", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the order from" }, "api.aggSkip": "ExecutionflowDetected" } },

View File

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

View File

@@ -2004,6 +2004,10 @@ export interface EntityDefinition {
* @generated from protobuf field: repeated string DashboardViewsAnalysis = 9
*/
DashboardViewsAnalysis: string[];
/**
* @generated from protobuf field: bool HasSegmentationKeys = 10
*/
HasSegmentationKeys: boolean;
}
/**
* @generated from protobuf message api.CrossFindQuery
@@ -8464,7 +8468,8 @@ class EntityDefinition$Type extends MessageType<EntityDefinition> {
{ no: 6, name: "IsIndexed", kind: "scalar", localName: "IsIndexed", jsonName: "IsIndexed", T: 8 /*ScalarType.BOOL*/ },
{ no: 7, name: "KpiGroups", kind: "scalar", localName: "KpiGroups", jsonName: "KpiGroups", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 8, name: "ModelVersion", kind: "scalar", localName: "ModelVersion", jsonName: "ModelVersion", T: 13 /*ScalarType.UINT32*/ },
{ no: 9, name: "DashboardViewsAnalysis", kind: "scalar", localName: "DashboardViewsAnalysis", jsonName: "DashboardViewsAnalysis", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ no: 9, name: "DashboardViewsAnalysis", kind: "scalar", localName: "DashboardViewsAnalysis", jsonName: "DashboardViewsAnalysis", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 10, name: "HasSegmentationKeys", kind: "scalar", localName: "HasSegmentationKeys", jsonName: "HasSegmentationKeys", T: 8 /*ScalarType.BOOL*/ }
]);
}
create(value?: PartialMessage<EntityDefinition>): EntityDefinition {
@@ -8478,6 +8483,7 @@ class EntityDefinition$Type extends MessageType<EntityDefinition> {
message.KpiGroups = [];
message.ModelVersion = 0;
message.DashboardViewsAnalysis = [];
message.HasSegmentationKeys = false;
if (value !== undefined)
reflectionMergePartial<EntityDefinition>(this, message, value);
return message;
@@ -8518,6 +8524,9 @@ class EntityDefinition$Type extends MessageType<EntityDefinition> {
case /* repeated string DashboardViewsAnalysis */ 9:
message.DashboardViewsAnalysis.push(reader.string());
break;
case /* bool HasSegmentationKeys */ 10:
message.HasSegmentationKeys = reader.bool();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -8561,6 +8570,9 @@ class EntityDefinition$Type extends MessageType<EntityDefinition> {
/* repeated string DashboardViewsAnalysis = 9; */
for (let i = 0; i < message.DashboardViewsAnalysis.length; i++)
writer.tag(9, WireType.LengthDelimited).string(message.DashboardViewsAnalysis[i]);
/* bool HasSegmentationKeys = 10; */
if (message.HasSegmentationKeys !== false)
writer.tag(10, WireType.Varint).bool(message.HasSegmentationKeys);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -723,7 +723,7 @@ class OrderLine$Type extends MessageType<OrderLine> {
super("api.OrderLine", [
{ no: 1, name: "LineID", kind: "scalar", localName: "LineID", jsonName: "LineID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ 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" }] } } },
{ 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: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }
]);
}