Latest generation

This commit is contained in:
ci core model
2026-09-03 12:48:13 +00:00
parent f5cb7dcc79
commit a3ae84a8d0
2 changed files with 10 additions and 10 deletions

18
kpi.ts
View File

@@ -171,9 +171,9 @@ export interface GetCompatibleKpisRequest {
*/
Group: string;
/**
* @generated from protobuf field: repeated string SelectedKpis = 4
* @generated from protobuf field: repeated string CompatibleWith = 4
*/
SelectedKpis: string[];
CompatibleWith: string[];
}
/**
* @generated from protobuf message api.GetCompatibleKpisResult
@@ -815,13 +815,13 @@ class GetCompatibleKpisRequest$Type extends MessageType<GetCompatibleKpisRequest
super("api.GetCompatibleKpisRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 3, name: "Group", kind: "scalar", localName: "Group", jsonName: "Group", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["executionflow", "stock", "movement", "handlingunit", "actor", "item", "stock_extended", "claim", "appointment"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Widget analysis criterion, executionflow, stock, movement or handlingunit", example: "\"executionflow\"" } } },
{ no: 4, name: "SelectedKpis", kind: "scalar", localName: "SelectedKpis", jsonName: "SelectedKpis", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of already selected KPI names" } } }
{ no: 4, name: "CompatibleWith", kind: "scalar", localName: "CompatibleWith", jsonName: "CompatibleWith", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of already selected KPI names" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<GetCompatibleKpisRequest>): GetCompatibleKpisRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.Group = "";
message.SelectedKpis = [];
message.CompatibleWith = [];
if (value !== undefined)
reflectionMergePartial<GetCompatibleKpisRequest>(this, message, value);
return message;
@@ -837,8 +837,8 @@ class GetCompatibleKpisRequest$Type extends MessageType<GetCompatibleKpisRequest
case /* string Group */ 3:
message.Group = reader.string();
break;
case /* repeated string SelectedKpis */ 4:
message.SelectedKpis.push(reader.string());
case /* repeated string CompatibleWith */ 4:
message.CompatibleWith.push(reader.string());
break;
default:
let u = options.readUnknownField;
@@ -858,9 +858,9 @@ class GetCompatibleKpisRequest$Type extends MessageType<GetCompatibleKpisRequest
/* string Group = 3; */
if (message.Group !== "")
writer.tag(3, WireType.LengthDelimited).string(message.Group);
/* repeated string SelectedKpis = 4; */
for (let i = 0; i < message.SelectedKpis.length; i++)
writer.tag(4, WireType.LengthDelimited).string(message.SelectedKpis[i]);
/* repeated string CompatibleWith = 4; */
for (let i = 0; i < message.CompatibleWith.length; i++)
writer.tag(4, WireType.LengthDelimited).string(message.CompatibleWith[i]);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

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