You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.13.0-SNAPSHOT-260213095141",
|
||||
"version": "1.13.0-SNAPSHOT-260213150755",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
32
workflow.ts
32
workflow.ts
@@ -810,11 +810,15 @@ export interface StartWorkflowAnonymizeDataResult {
|
||||
*/
|
||||
export interface StartWorkflowUpgradeModelRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string ProjectID = 1
|
||||
* @generated from protobuf field: string OrganisationID = 1
|
||||
*/
|
||||
OrganisationID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string ProjectID = 2
|
||||
*/
|
||||
ProjectID: string;
|
||||
/**
|
||||
* @generated from protobuf field: api.ModelDataSetEnum Entity = 2
|
||||
* @generated from protobuf field: api.ModelDataSetEnum Entity = 3
|
||||
*/
|
||||
Entity: ModelDataSetEnum;
|
||||
}
|
||||
@@ -4107,12 +4111,14 @@ export const StartWorkflowAnonymizeDataResult = new StartWorkflowAnonymizeDataRe
|
||||
class StartWorkflowUpgradeModelRequest$Type extends MessageType<StartWorkflowUpgradeModelRequest> {
|
||||
constructor() {
|
||||
super("api.StartWorkflowUpgradeModelRequest", [
|
||||
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.ModelDataSetEnum", ModelDataSetEnum] }
|
||||
{ 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] }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: {} } });
|
||||
}
|
||||
create(value?: PartialMessage<StartWorkflowUpgradeModelRequest>): StartWorkflowUpgradeModelRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.OrganisationID = "";
|
||||
message.ProjectID = "";
|
||||
message.Entity = 0;
|
||||
if (value !== undefined)
|
||||
@@ -4124,10 +4130,13 @@ class StartWorkflowUpgradeModelRequest$Type extends MessageType<StartWorkflowUpg
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ProjectID */ 1:
|
||||
case /* string OrganisationID */ 1:
|
||||
message.OrganisationID = reader.string();
|
||||
break;
|
||||
case /* string ProjectID */ 2:
|
||||
message.ProjectID = reader.string();
|
||||
break;
|
||||
case /* api.ModelDataSetEnum Entity */ 2:
|
||||
case /* api.ModelDataSetEnum Entity */ 3:
|
||||
message.Entity = reader.int32();
|
||||
break;
|
||||
default:
|
||||
@@ -4142,12 +4151,15 @@ class StartWorkflowUpgradeModelRequest$Type extends MessageType<StartWorkflowUpg
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: StartWorkflowUpgradeModelRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ProjectID = 1; */
|
||||
/* string OrganisationID = 1; */
|
||||
if (message.OrganisationID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.OrganisationID);
|
||||
/* string ProjectID = 2; */
|
||||
if (message.ProjectID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
|
||||
/* api.ModelDataSetEnum Entity = 2; */
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.ProjectID);
|
||||
/* api.ModelDataSetEnum Entity = 3; */
|
||||
if (message.Entity !== 0)
|
||||
writer.tag(2, WireType.Varint).int32(message.Entity);
|
||||
writer.tag(3, WireType.Varint).int32(message.Entity);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user