From c48b05732ac1230fb126b323f953ddb2f51bf428 Mon Sep 17 00:00:00 2001 From: ci core model Date: Mon, 12 May 2025 14:04:50 +0000 Subject: [PATCH] Latest generation --- package.json | 2 +- shared.ts | 14 +++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 88eac1c8..e217c388 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.11.0-SNAPSHOT-250509113746", + "version": "1.11.0-SNAPSHOT-250512140428", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/shared.ts b/shared.ts index 1dceb2a6..da5380a0 100644 --- a/shared.ts +++ b/shared.ts @@ -402,6 +402,10 @@ export interface EventHeader { * @generated from protobuf field: string CreatedBy = 6 [json_name = "CreatedBy"]; */ CreatedBy: string; + /** + * @generated from protobuf field: uint32 Version = 7 [json_name = "Version"]; + */ + Version: number; } /** * Generic Object structures @@ -3536,7 +3540,8 @@ class EventHeader$Type extends MessageType { { no: 3, name: "Project", kind: "scalar", localName: "Project", jsonName: "Project", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 4, name: "Author", kind: "scalar", localName: "Author", jsonName: "Author", T: 9 /*ScalarType.STRING*/, options: { "api.viewType": { Types: [{ Context: "*", Type: "user" }] }, "validate.rules": { string: { minLen: "1" } } } }, { no: 5, name: "EventID", kind: "scalar", localName: "EventID", jsonName: "EventID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, - { no: 6, name: "CreatedBy", kind: "scalar", localName: "CreatedBy", jsonName: "CreatedBy", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } } + { no: 6, name: "CreatedBy", kind: "scalar", localName: "CreatedBy", jsonName: "CreatedBy", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } }, + { no: 7, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 13 /*ScalarType.UINT32*/ } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["InputEvent", "EventTS", "Project", "Author", "EventID"] } } }); } create(value?: PartialMessage): EventHeader { @@ -3546,6 +3551,7 @@ class EventHeader$Type extends MessageType { message.Author = ""; message.EventID = ""; message.CreatedBy = ""; + message.Version = 0; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -3573,6 +3579,9 @@ class EventHeader$Type extends MessageType { case /* string CreatedBy = 6 [json_name = "CreatedBy"];*/ 6: message.CreatedBy = reader.string(); break; + case /* uint32 Version = 7 [json_name = "Version"];*/ 7: + message.Version = reader.uint32(); + break; default: let u = options.readUnknownField; if (u === "throw") @@ -3603,6 +3612,9 @@ class EventHeader$Type extends MessageType { /* string CreatedBy = 6 [json_name = "CreatedBy"]; */ if (message.CreatedBy !== "") writer.tag(6, WireType.LengthDelimited).string(message.CreatedBy); + /* uint32 Version = 7 [json_name = "Version"]; */ + if (message.Version !== 0) + writer.tag(7, WireType.Varint).uint32(message.Version); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);