From b31319d07e05dcd8e41048bd2a77c542b252d134 Mon Sep 17 00:00:00 2001 From: ci core model Date: Tue, 8 Sep 2026 11:30:00 +0000 Subject: [PATCH] Latest generation --- package.json | 2 +- ruleEngine_services.ts | 54 +++++++++++++++++++++++++++++++++++++++--- 2 files changed, 52 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 1c05f5a..c91684c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.15.0-SNAPSHOT-260908090146", + "version": "1.15.0-SNAPSHOT-260908112918", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/ruleEngine_services.ts b/ruleEngine_services.ts index 2f955fc..cb00129 100644 --- a/ruleEngine_services.ts +++ b/ruleEngine_services.ts @@ -160,6 +160,14 @@ export interface ListEngineRuleRequest { * @generated from protobuf field: bool IsCurrentlyValid = 4 */ IsCurrentlyValid: boolean; // Optional filter: if true, only return rules whose validity period (ValidityType/ValidFrom/ValidUntil) currently includes now and whose IsActive = true. false returns all rules regardless of validity period or IsActive status. + /** + * @generated from protobuf field: string Code = 5 + */ + Code: string; // Optional filter: only return rules whose Code contains this value (case-insensitive substring match) + /** + * @generated from protobuf field: string Label = 6 + */ + Label: string; // Optional filter: only return rules whose Label contains this value (case-insensitive substring match) } /** * @generated from protobuf message api.ListEngineRuleResponse @@ -318,6 +326,10 @@ export interface ListComputationRequest { * @generated from protobuf field: api.EntityType Entity = 2 */ Entity: EntityType; // Optional filter: only return computations applying to this entity type + /** + * @generated from protobuf field: string Label = 3 + */ + Label: string; // Optional filter: only return computations whose Label contains this value (case-insensitive substring match) } /** * @generated from protobuf message api.ListComputationResponse @@ -432,6 +444,10 @@ export interface ListMappingTableRequest { * @generated from protobuf field: api.EntityType Entity = 2 */ Entity: EntityType; // Optional filter: only return mapping tables applying to this entity type + /** + * @generated from protobuf field: string Label = 3 + */ + Label: string; // Optional filter: only return mapping tables whose Label contains this value (case-insensitive substring match) } /** * @generated from protobuf message api.ListMappingTableResponse @@ -764,7 +780,9 @@ class ListEngineRuleRequest$Type extends MessageType { { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType] }, { no: 3, name: "TriggerType", kind: "enum", localName: "TriggerType", jsonName: "TriggerType", T: () => ["api.EngineRuleTriggerType", EngineRuleTriggerType] }, - { no: 4, name: "IsCurrentlyValid", kind: "scalar", localName: "IsCurrentlyValid", jsonName: "IsCurrentlyValid", T: 8 /*ScalarType.BOOL*/ } + { no: 4, name: "IsCurrentlyValid", kind: "scalar", localName: "IsCurrentlyValid", jsonName: "IsCurrentlyValid", T: 8 /*ScalarType.BOOL*/ }, + { no: 5, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/ }, + { no: 6, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/ } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } }); } create(value?: PartialMessage): ListEngineRuleRequest { @@ -772,6 +790,8 @@ class ListEngineRuleRequest$Type extends MessageType { message.Entity = 0; message.TriggerType = 0; message.IsCurrentlyValid = false; + message.Code = ""; + message.Label = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -793,6 +813,12 @@ class ListEngineRuleRequest$Type extends MessageType { case /* bool IsCurrentlyValid */ 4: message.IsCurrentlyValid = reader.bool(); break; + case /* string Code */ 5: + message.Code = reader.string(); + break; + case /* string Label */ 6: + message.Label = reader.string(); + break; default: let u = options.readUnknownField; if (u === "throw") @@ -817,6 +843,12 @@ class ListEngineRuleRequest$Type extends MessageType { /* bool IsCurrentlyValid = 4; */ if (message.IsCurrentlyValid !== false) writer.tag(4, WireType.Varint).bool(message.IsCurrentlyValid); + /* string Code = 5; */ + if (message.Code !== "") + writer.tag(5, WireType.LengthDelimited).string(message.Code); + /* string Label = 6; */ + if (message.Label !== "") + writer.tag(6, WireType.LengthDelimited).string(message.Label); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); @@ -1329,12 +1361,14 @@ class ListComputationRequest$Type extends MessageType { constructor() { super("api.ListComputationRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType] } + { no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType] }, + { no: 3, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/ } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } }); } create(value?: PartialMessage): ListComputationRequest { const message = globalThis.Object.create((this.messagePrototype!)); message.Entity = 0; + message.Label = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -1350,6 +1384,9 @@ class ListComputationRequest$Type extends MessageType { case /* api.EntityType Entity */ 2: message.Entity = reader.int32(); break; + case /* string Label */ 3: + message.Label = reader.string(); + break; default: let u = options.readUnknownField; if (u === "throw") @@ -1368,6 +1405,9 @@ class ListComputationRequest$Type extends MessageType { /* api.EntityType Entity = 2; */ if (message.Entity !== 0) writer.tag(2, WireType.Varint).int32(message.Entity); + /* string Label = 3; */ + if (message.Label !== "") + writer.tag(3, WireType.LengthDelimited).string(message.Label); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); @@ -1761,12 +1801,14 @@ class ListMappingTableRequest$Type extends MessageType constructor() { super("api.ListMappingTableRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType] } + { no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType] }, + { no: 3, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/ } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } }); } create(value?: PartialMessage): ListMappingTableRequest { const message = globalThis.Object.create((this.messagePrototype!)); message.Entity = 0; + message.Label = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -1782,6 +1824,9 @@ class ListMappingTableRequest$Type extends MessageType case /* api.EntityType Entity */ 2: message.Entity = reader.int32(); break; + case /* string Label */ 3: + message.Label = reader.string(); + break; default: let u = options.readUnknownField; if (u === "throw") @@ -1800,6 +1845,9 @@ class ListMappingTableRequest$Type extends MessageType /* api.EntityType Entity = 2; */ if (message.Entity !== 0) writer.tag(2, WireType.Varint).int32(message.Entity); + /* string Label = 3; */ + if (message.Label !== "") + writer.tag(3, WireType.LengthDelimited).string(message.Label); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);