From 6340e4cb249e10f2b733175d1f7f8ff05a0b33ba Mon Sep 17 00:00:00 2001 From: ci core model Date: Tue, 8 Sep 2026 09:02:32 +0000 Subject: [PATCH] Latest generation --- package.json | 2 +- ruleEngine_model.ts | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index efb8919..1c05f5a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.15.0-SNAPSHOT-260908085519", + "version": "1.15.0-SNAPSHOT-260908090146", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/ruleEngine_model.ts b/ruleEngine_model.ts index 72c961c..f81d291 100644 --- a/ruleEngine_model.ts +++ b/ruleEngine_model.ts @@ -941,12 +941,18 @@ export interface MappingTableInput { * @generated from protobuf field: api.EngineRuleLiteral Literal = 20 */ Literal: EngineRuleLiteral; // Value to match on the input field, e.g. "HIGH" + } | { + oneofKind: "LiteralList"; + /** + * @generated from protobuf field: api.EngineRuleLiteralList LiteralList = 22 + */ + LiteralList: EngineRuleLiteralList; // Matches if the input field's value equals any one of these, e.g. ["HIGH", "URGENT"]; only meaningful with Operator = EQUALS } | { oneofKind: "AllValuesMatch"; /** * @generated from protobuf field: bool AllValuesMatch = 21 */ - AllValuesMatch: boolean; // If true, the entry matches any value for the input field (wildcard); mutually exclusive with EngineRuleLiteral + AllValuesMatch: boolean; // If true, the entry matches any value for the input field (wildcard); mutually exclusive with EngineRuleLiteral/LiteralList } | { oneofKind: undefined; }; @@ -3591,6 +3597,7 @@ class MappingTableInput$Type extends MessageType { super("api.MappingTableInput", [ { no: 10, name: "Field", kind: "scalar", localName: "Field", jsonName: "Field", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 20, name: "Literal", kind: "message", localName: "Literal", jsonName: "Literal", oneof: "Value", T: () => EngineRuleLiteral, options: { "n1validate.rules": { message: { required: true } } } }, + { no: 22, name: "LiteralList", kind: "message", localName: "LiteralList", jsonName: "LiteralList", oneof: "Value", T: () => EngineRuleLiteralList }, { no: 21, name: "AllValuesMatch", kind: "scalar", localName: "AllValuesMatch", jsonName: "AllValuesMatch", oneof: "Value", T: 8 /*ScalarType.BOOL*/ }, { no: 30, name: "Operator", kind: "enum", localName: "Operator", jsonName: "Operator", T: () => ["api.MappingTableInputOperator", MappingTableInputOperator], options: { "n1validate.rules": { enum: { definedOnly: true, notIn: [0] } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Field", "Value"] } } }); @@ -3618,6 +3625,12 @@ class MappingTableInput$Type extends MessageType { Literal: EngineRuleLiteral.internalBinaryRead(reader, reader.uint32(), options, (message.Value as any).Literal) }; break; + case /* api.EngineRuleLiteralList LiteralList */ 22: + message.Value = { + oneofKind: "LiteralList", + LiteralList: EngineRuleLiteralList.internalBinaryRead(reader, reader.uint32(), options, (message.Value as any).LiteralList) + }; + break; case /* bool AllValuesMatch */ 21: message.Value = { oneofKind: "AllValuesMatch", @@ -3648,6 +3661,9 @@ class MappingTableInput$Type extends MessageType { /* bool AllValuesMatch = 21; */ if (message.Value.oneofKind === "AllValuesMatch") writer.tag(21, WireType.Varint).bool(message.Value.AllValuesMatch); + /* api.EngineRuleLiteralList LiteralList = 22; */ + if (message.Value.oneofKind === "LiteralList") + EngineRuleLiteralList.internalBinaryWrite(message.Value.LiteralList, writer.tag(22, WireType.LengthDelimited).fork(), options).join(); /* api.MappingTableInputOperator Operator = 30; */ if (message.Operator !== 0) writer.tag(30, WireType.Varint).int32(message.Operator);