Latest generation

This commit is contained in:
ci core model
2026-02-24 15:36:48 +00:00
parent 13a080939c
commit 3a8be42eef
4 changed files with 29 additions and 30 deletions

View File

@@ -11,7 +11,7 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { reflectionMergePartial } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { ModelDataSetEnum } from "./shared";
import { EntityType } from "./shared";
/**
* @generated from protobuf message api.UpdateModelMappingsRequest
*/
@@ -77,9 +77,9 @@ export interface ClearIndexEntityRequest {
*/
RscID: string;
/**
* @generated from protobuf field: api.ModelDataSetEnum Entity = 2
* @generated from protobuf field: api.EntityType Entity = 2
*/
Entity: ModelDataSetEnum;
Entity: EntityType;
}
/**
* @generated from protobuf message api.ClearIndexEntityResult
@@ -412,7 +412,7 @@ class ClearIndexEntityRequest$Type extends MessageType<ClearIndexEntityRequest>
constructor() {
super("api.ClearIndexEntityRequest", [
{ no: 1, name: "RscID", kind: "scalar", localName: "RscID", jsonName: "RscID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.ModelDataSetEnum", ModelDataSetEnum], options: { "validate.rules": { enum: { definedOnly: true } } } }
{ no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["RscID", "RscType", "Entity"] } } });
}
create(value?: PartialMessage<ClearIndexEntityRequest>): ClearIndexEntityRequest {
@@ -431,7 +431,7 @@ class ClearIndexEntityRequest$Type extends MessageType<ClearIndexEntityRequest>
case /* string RscID */ 1:
message.RscID = reader.string();
break;
case /* api.ModelDataSetEnum Entity */ 2:
case /* api.EntityType Entity */ 2:
message.Entity = reader.int32();
break;
default:
@@ -449,7 +449,7 @@ class ClearIndexEntityRequest$Type extends MessageType<ClearIndexEntityRequest>
/* string RscID = 1; */
if (message.RscID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.RscID);
/* api.ModelDataSetEnum Entity = 2; */
/* api.EntityType Entity = 2; */
if (message.Entity !== 0)
writer.tag(2, WireType.Varint).int32(message.Entity);
let u = options.writeUnknownFields;

12
kpi.ts
View File

@@ -11,7 +11,7 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { reflectionMergePartial } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { ModelDataSetEnum } from "./shared";
import { EntityType } from "./shared";
import { RequestProjectHeader } from "./shared";
/**
* @generated from protobuf message api.Kpi
@@ -206,9 +206,9 @@ export interface ClearKpiEntityRequest {
*/
RscID: string;
/**
* @generated from protobuf field: api.ModelDataSetEnum Entity = 2
* @generated from protobuf field: api.EntityType Entity = 2
*/
Entity: ModelDataSetEnum;
Entity: EntityType;
}
/**
* @generated from protobuf message api.ClearKpiEntityResult
@@ -953,7 +953,7 @@ class ClearKpiEntityRequest$Type extends MessageType<ClearKpiEntityRequest> {
constructor() {
super("api.ClearKpiEntityRequest", [
{ no: 1, name: "RscID", kind: "scalar", localName: "RscID", jsonName: "RscID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.ModelDataSetEnum", ModelDataSetEnum], options: { "validate.rules": { enum: { definedOnly: true } } } }
{ no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["RscID", "RscType", "Domain"] } } });
}
create(value?: PartialMessage<ClearKpiEntityRequest>): ClearKpiEntityRequest {
@@ -972,7 +972,7 @@ class ClearKpiEntityRequest$Type extends MessageType<ClearKpiEntityRequest> {
case /* string RscID */ 1:
message.RscID = reader.string();
break;
case /* api.ModelDataSetEnum Entity */ 2:
case /* api.EntityType Entity */ 2:
message.Entity = reader.int32();
break;
default:
@@ -990,7 +990,7 @@ class ClearKpiEntityRequest$Type extends MessageType<ClearKpiEntityRequest> {
/* string RscID = 1; */
if (message.RscID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.RscID);
/* api.ModelDataSetEnum Entity = 2; */
/* api.EntityType Entity = 2; */
if (message.Entity !== 0)
writer.tag(2, WireType.Varint).int32(message.Entity);
let u = options.writeUnknownFields;

View File

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

View File

@@ -11,9 +11,8 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { reflectionMergePartial } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { EntityType } from "./shared";
import { RecoverType } from "./shared";
import { ModelDataSetEnum } from "./shared";
import { EntityType } from "./shared";
import { ModuleWorkflowTypeEnum } from "./shared";
import { WorkflowTypeEnum } from "./shared";
import { ModuleDeregistration } from "./shared";
@@ -610,9 +609,9 @@ export interface StartWorkflowRecoverDataRequest {
*/
ProjectID: string;
/**
* @generated from protobuf field: api.ModelDataSetEnum Entity = 2
* @generated from protobuf field: api.EntityType Entity = 2
*/
Entity: ModelDataSetEnum;
Entity: EntityType;
/**
* @generated from protobuf field: api.RecoverType RecoveryType = 3
*/
@@ -644,9 +643,9 @@ export interface StartWorkflowRecoverDataResult {
*/
export interface StartWorkflowCheckAndLaunchRecoverDataRequest {
/**
* @generated from protobuf field: api.ModelDataSetEnum Entity = 1
* @generated from protobuf field: api.EntityType Entity = 1
*/
Entity: ModelDataSetEnum;
Entity: EntityType;
/**
* @generated from protobuf field: api.RecoverType RecoveryType = 2
*/
@@ -818,9 +817,9 @@ export interface StartWorkflowUpgradeModelRequest {
*/
ProjectID: string;
/**
* @generated from protobuf field: api.ModelDataSetEnum Entity = 3
* @generated from protobuf field: api.EntityType Entity = 3
*/
Entity: ModelDataSetEnum;
Entity: EntityType;
/**
* @generated from protobuf field: bool ClearEntityData = 4
*/
@@ -3159,7 +3158,7 @@ class StartWorkflowRecoverDataRequest$Type extends MessageType<StartWorkflowReco
constructor() {
super("api.StartWorkflowRecoverDataRequest", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.ModelDataSetEnum", ModelDataSetEnum] },
{ no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType] },
{ no: 3, name: "RecoveryType", kind: "enum", localName: "RecoveryType", jsonName: "RecoveryType", T: () => ["api.RecoverType", RecoverType] },
{ no: 4, name: "ClearEntityData", kind: "scalar", localName: "ClearEntityData", jsonName: "ClearEntityData", T: 8 /*ScalarType.BOOL*/ },
{ no: 6, name: "RestartJob", kind: "scalar", localName: "RestartJob", jsonName: "RestartJob", T: 8 /*ScalarType.BOOL*/ },
@@ -3186,7 +3185,7 @@ class StartWorkflowRecoverDataRequest$Type extends MessageType<StartWorkflowReco
case /* string ProjectID */ 1:
message.ProjectID = reader.string();
break;
case /* api.ModelDataSetEnum Entity */ 2:
case /* api.EntityType Entity */ 2:
message.Entity = reader.int32();
break;
case /* api.RecoverType RecoveryType */ 3:
@@ -3216,7 +3215,7 @@ class StartWorkflowRecoverDataRequest$Type extends MessageType<StartWorkflowReco
/* string ProjectID = 1; */
if (message.ProjectID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
/* api.ModelDataSetEnum Entity = 2; */
/* api.EntityType Entity = 2; */
if (message.Entity !== 0)
writer.tag(2, WireType.Varint).int32(message.Entity);
/* api.RecoverType RecoveryType = 3; */
@@ -3291,7 +3290,7 @@ export const StartWorkflowRecoverDataResult = new StartWorkflowRecoverDataResult
class StartWorkflowCheckAndLaunchRecoverDataRequest$Type extends MessageType<StartWorkflowCheckAndLaunchRecoverDataRequest> {
constructor() {
super("api.StartWorkflowCheckAndLaunchRecoverDataRequest", [
{ no: 1, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.ModelDataSetEnum", ModelDataSetEnum] },
{ no: 1, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType] },
{ no: 2, name: "RecoveryType", kind: "enum", localName: "RecoveryType", jsonName: "RecoveryType", T: () => ["api.RecoverType", RecoverType] }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Entity", "RecoveryType"] } } });
}
@@ -3308,7 +3307,7 @@ class StartWorkflowCheckAndLaunchRecoverDataRequest$Type extends MessageType<Sta
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.ModelDataSetEnum Entity */ 1:
case /* api.EntityType Entity */ 1:
message.Entity = reader.int32();
break;
case /* api.RecoverType RecoveryType */ 2:
@@ -3326,7 +3325,7 @@ class StartWorkflowCheckAndLaunchRecoverDataRequest$Type extends MessageType<Sta
return message;
}
internalBinaryWrite(message: StartWorkflowCheckAndLaunchRecoverDataRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.ModelDataSetEnum Entity = 1; */
/* api.EntityType Entity = 1; */
if (message.Entity !== 0)
writer.tag(1, WireType.Varint).int32(message.Entity);
/* api.RecoverType RecoveryType = 2; */
@@ -4135,7 +4134,7 @@ class StartWorkflowUpgradeModelRequest$Type extends MessageType<StartWorkflowUpg
super("api.StartWorkflowUpgradeModelRequest", [
{ no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.ModelDataSetEnum", ModelDataSetEnum] },
{ no: 3, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType] },
{ no: 4, name: "ClearEntityData", kind: "scalar", localName: "ClearEntityData", jsonName: "ClearEntityData", T: 8 /*ScalarType.BOOL*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: {} } });
}
@@ -4160,7 +4159,7 @@ class StartWorkflowUpgradeModelRequest$Type extends MessageType<StartWorkflowUpg
case /* string ProjectID */ 2:
message.ProjectID = reader.string();
break;
case /* api.ModelDataSetEnum Entity */ 3:
case /* api.EntityType Entity */ 3:
message.Entity = reader.int32();
break;
case /* bool ClearEntityData */ 4:
@@ -4184,7 +4183,7 @@ class StartWorkflowUpgradeModelRequest$Type extends MessageType<StartWorkflowUpg
/* string ProjectID = 2; */
if (message.ProjectID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.ProjectID);
/* api.ModelDataSetEnum Entity = 3; */
/* api.EntityType Entity = 3; */
if (message.Entity !== 0)
writer.tag(3, WireType.Varint).int32(message.Entity);
/* bool ClearEntityData = 4; */