Latest generation

This commit is contained in:
ci core model
2025-03-31 12:59:17 +00:00
parent 60651ffb47
commit 8a9f02aea6
2 changed files with 23 additions and 47 deletions

View File

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

View File

@@ -709,15 +709,11 @@ export interface StartWorkflowHealthCheckWorkflowsResult {
*/
export interface StartWorkflowPruneDataRequest {
/**
* @generated from protobuf field: string OrganisationID = 1 [json_name = "OrganisationID"];
*/
organisationID: string;
/**
* @generated from protobuf field: string ProjectID = 2 [json_name = "ProjectID"];
* @generated from protobuf field: string ProjectID = 1 [json_name = "ProjectID"];
*/
projectID: string;
/**
* @generated from protobuf field: api.ModelDataSetEnum Entity = 3 [json_name = "Entity"];
* @generated from protobuf field: api.ModelDataSetEnum Entity = 2 [json_name = "Entity"];
*/
entity: ModelDataSetEnum;
}
@@ -749,15 +745,11 @@ export interface StartWorkflowSynchronizeRulesOnGitResult {
*/
export interface StartWorkflowAnonymizeDataRequest {
/**
* @generated from protobuf field: string OrganisationID = 1 [json_name = "OrganisationID"];
*/
organisationID: string;
/**
* @generated from protobuf field: string ProjectID = 2 [json_name = "ProjectID"];
* @generated from protobuf field: string ProjectID = 1 [json_name = "ProjectID"];
*/
projectID: string;
/**
* @generated from protobuf field: api.ModelDataSetEnum Entity = 3 [json_name = "Entity"];
* @generated from protobuf field: api.ModelDataSetEnum Entity = 2 [json_name = "Entity"];
*/
entity: ModelDataSetEnum;
}
@@ -3612,14 +3604,12 @@ export const StartWorkflowHealthCheckWorkflowsResult = new StartWorkflowHealthCh
class StartWorkflowPruneDataRequest$Type extends MessageType<StartWorkflowPruneDataRequest> {
constructor() {
super("api.StartWorkflowPruneDataRequest", [
{ no: 1, name: "OrganisationID", kind: "scalar", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "ProjectID", kind: "scalar", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "Entity", kind: "enum", jsonName: "Entity", T: () => ["api.ModelDataSetEnum", ModelDataSetEnum] }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationID", "ProjectID", "Entity"] } } });
{ no: 1, name: "ProjectID", kind: "scalar", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "Entity", kind: "enum", jsonName: "Entity", T: () => ["api.ModelDataSetEnum", ModelDataSetEnum] }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID", "Entity"] } } });
}
create(value?: PartialMessage<StartWorkflowPruneDataRequest>): StartWorkflowPruneDataRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.organisationID = "";
message.projectID = "";
message.entity = 0;
if (value !== undefined)
@@ -3631,13 +3621,10 @@ class StartWorkflowPruneDataRequest$Type extends MessageType<StartWorkflowPruneD
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string OrganisationID = 1 [json_name = "OrganisationID"];*/ 1:
message.organisationID = reader.string();
break;
case /* string ProjectID = 2 [json_name = "ProjectID"];*/ 2:
case /* string ProjectID = 1 [json_name = "ProjectID"];*/ 1:
message.projectID = reader.string();
break;
case /* api.ModelDataSetEnum Entity = 3 [json_name = "Entity"];*/ 3:
case /* api.ModelDataSetEnum Entity = 2 [json_name = "Entity"];*/ 2:
message.entity = reader.int32();
break;
default:
@@ -3652,15 +3639,12 @@ class StartWorkflowPruneDataRequest$Type extends MessageType<StartWorkflowPruneD
return message;
}
internalBinaryWrite(message: StartWorkflowPruneDataRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string OrganisationID = 1 [json_name = "OrganisationID"]; */
if (message.organisationID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.organisationID);
/* string ProjectID = 2 [json_name = "ProjectID"]; */
/* string ProjectID = 1 [json_name = "ProjectID"]; */
if (message.projectID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.projectID);
/* api.ModelDataSetEnum Entity = 3 [json_name = "Entity"]; */
writer.tag(1, WireType.LengthDelimited).string(message.projectID);
/* api.ModelDataSetEnum Entity = 2 [json_name = "Entity"]; */
if (message.entity !== 0)
writer.tag(3, WireType.Varint).int32(message.entity);
writer.tag(2, WireType.Varint).int32(message.entity);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3805,14 +3789,12 @@ export const StartWorkflowSynchronizeRulesOnGitResult = new StartWorkflowSynchro
class StartWorkflowAnonymizeDataRequest$Type extends MessageType<StartWorkflowAnonymizeDataRequest> {
constructor() {
super("api.StartWorkflowAnonymizeDataRequest", [
{ no: 1, name: "OrganisationID", kind: "scalar", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "ProjectID", kind: "scalar", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "Entity", kind: "enum", jsonName: "Entity", T: () => ["api.ModelDataSetEnum", ModelDataSetEnum] }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationID", "ProjectID", "Entity"] } } });
{ no: 1, name: "ProjectID", kind: "scalar", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "Entity", kind: "enum", jsonName: "Entity", T: () => ["api.ModelDataSetEnum", ModelDataSetEnum] }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID", "Entity"] } } });
}
create(value?: PartialMessage<StartWorkflowAnonymizeDataRequest>): StartWorkflowAnonymizeDataRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.organisationID = "";
message.projectID = "";
message.entity = 0;
if (value !== undefined)
@@ -3824,13 +3806,10 @@ class StartWorkflowAnonymizeDataRequest$Type extends MessageType<StartWorkflowAn
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string OrganisationID = 1 [json_name = "OrganisationID"];*/ 1:
message.organisationID = reader.string();
break;
case /* string ProjectID = 2 [json_name = "ProjectID"];*/ 2:
case /* string ProjectID = 1 [json_name = "ProjectID"];*/ 1:
message.projectID = reader.string();
break;
case /* api.ModelDataSetEnum Entity = 3 [json_name = "Entity"];*/ 3:
case /* api.ModelDataSetEnum Entity = 2 [json_name = "Entity"];*/ 2:
message.entity = reader.int32();
break;
default:
@@ -3845,15 +3824,12 @@ class StartWorkflowAnonymizeDataRequest$Type extends MessageType<StartWorkflowAn
return message;
}
internalBinaryWrite(message: StartWorkflowAnonymizeDataRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string OrganisationID = 1 [json_name = "OrganisationID"]; */
if (message.organisationID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.organisationID);
/* string ProjectID = 2 [json_name = "ProjectID"]; */
/* string ProjectID = 1 [json_name = "ProjectID"]; */
if (message.projectID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.projectID);
/* api.ModelDataSetEnum Entity = 3 [json_name = "Entity"]; */
writer.tag(1, WireType.LengthDelimited).string(message.projectID);
/* api.ModelDataSetEnum Entity = 2 [json_name = "Entity"]; */
if (message.entity !== 0)
writer.tag(3, WireType.Varint).int32(message.entity);
writer.tag(2, WireType.Varint).int32(message.entity);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);