From 0dd97cfea2ee74f891e2a23a724ccffcbfc49488 Mon Sep 17 00:00:00 2001 From: ci core model Date: Wed, 26 Aug 2026 08:06:06 +0000 Subject: [PATCH] Latest generation --- actorAction.ts | 145 +++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 146 insertions(+), 1 deletion(-) diff --git a/actorAction.ts b/actorAction.ts index e838053..e163c3d 100644 --- a/actorAction.ts +++ b/actorAction.ts @@ -150,6 +150,39 @@ export interface ClearSiteAlias { */ PreviousPayload?: ActorClearSiteAliasPayload; } +/** + * + * EnrichExecutionflow : force enrichment of executionflow for the actor, by sending a new executionflow event + * + * @generated from protobuf message api.ActorEnrichExecutionflowPayload + */ +export interface ActorEnrichExecutionflowPayload { +} +/** + * @generated from protobuf message api.ActorEnrichExecutionflow + */ +export interface ActorEnrichExecutionflow { + /** + * @generated from protobuf field: api.CommandHeader Header = 1 + */ + Header?: CommandHeader; + /** + * @generated from protobuf field: api.EntityID ID = 2 + */ + ID?: EntityID; + /** + * @generated from protobuf field: api.ActorEnrichExecutionflowPayload Payload = 3 + */ + Payload?: ActorEnrichExecutionflowPayload; + /** + * @generated from protobuf field: api.ActorEnrichExecutionflowPayload EventPayload = 4 + */ + EventPayload?: ActorEnrichExecutionflowPayload; + /** + * @generated from protobuf field: api.ActorEnrichExecutionflowPayload PreviousPayload = 5 + */ + PreviousPayload?: ActorEnrichExecutionflowPayload; +} // @generated message type with reflection information, may provide speed optimized methods class ActorCompleteSnapshotPayload$Type extends MessageType { constructor() { @@ -541,3 +574,115 @@ class ClearSiteAlias$Type extends MessageType { * @generated MessageType for protobuf message api.ClearSiteAlias */ export const ClearSiteAlias = new ClearSiteAlias$Type(); +// @generated message type with reflection information, may provide speed optimized methods +class ActorEnrichExecutionflowPayload$Type extends MessageType { + constructor() { + super("api.ActorEnrichExecutionflowPayload", [], { "api.messageType": "Command", "api.payload": true, "api.action": "EnrichExecutionflow" }); + } + create(value?: PartialMessage): ActorEnrichExecutionflowPayload { + const message = globalThis.Object.create((this.messagePrototype!)); + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorEnrichExecutionflowPayload): ActorEnrichExecutionflowPayload { + let message = target ?? this.create(), end = reader.pos + length; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + default: + let u = options.readUnknownField; + if (u === "throw") + throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); + let d = reader.skip(wireType); + if (u !== false) + (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); + } + } + return message; + } + internalBinaryWrite(message: ActorEnrichExecutionflowPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { + let u = options.writeUnknownFields; + if (u !== false) + (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); + return writer; + } +} +/** + * @generated MessageType for protobuf message api.ActorEnrichExecutionflowPayload + */ +export const ActorEnrichExecutionflowPayload = new ActorEnrichExecutionflowPayload$Type(); +// @generated message type with reflection information, may provide speed optimized methods +class ActorEnrichExecutionflow$Type extends MessageType { + constructor() { + super("api.ActorEnrichExecutionflow", [ + { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => CommandHeader }, + { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }, + { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorEnrichExecutionflowPayload }, + { no: 4, name: "EventPayload", kind: "message", localName: "EventPayload", jsonName: "EventPayload", T: () => ActorEnrichExecutionflowPayload }, + { no: 5, name: "PreviousPayload", kind: "message", localName: "PreviousPayload", jsonName: "PreviousPayload", T: () => ActorEnrichExecutionflowPayload } + ], { "api.messageType": "Command", "api.action": "EnrichExecutionflow", "api.resultingEvent": "executionflow.EnrichmentUpdated", "api.triggerEventFilters": "StockManagementUpdated" }); + } + create(value?: PartialMessage): ActorEnrichExecutionflow { + const message = globalThis.Object.create((this.messagePrototype!)); + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorEnrichExecutionflow): ActorEnrichExecutionflow { + let message = target ?? this.create(), end = reader.pos + length; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + case /* api.CommandHeader Header */ 1: + message.Header = CommandHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); + break; + case /* api.EntityID ID */ 2: + message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); + break; + case /* api.ActorEnrichExecutionflowPayload Payload */ 3: + message.Payload = ActorEnrichExecutionflowPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); + break; + case /* api.ActorEnrichExecutionflowPayload EventPayload */ 4: + message.EventPayload = ActorEnrichExecutionflowPayload.internalBinaryRead(reader, reader.uint32(), options, message.EventPayload); + break; + case /* api.ActorEnrichExecutionflowPayload PreviousPayload */ 5: + message.PreviousPayload = ActorEnrichExecutionflowPayload.internalBinaryRead(reader, reader.uint32(), options, message.PreviousPayload); + break; + default: + let u = options.readUnknownField; + if (u === "throw") + throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); + let d = reader.skip(wireType); + if (u !== false) + (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); + } + } + return message; + } + internalBinaryWrite(message: ActorEnrichExecutionflow, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { + /* api.CommandHeader Header = 1; */ + if (message.Header) + CommandHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); + /* api.EntityID ID = 2; */ + if (message.ID) + EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); + /* api.ActorEnrichExecutionflowPayload Payload = 3; */ + if (message.Payload) + ActorEnrichExecutionflowPayload.internalBinaryWrite(message.Payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); + /* api.ActorEnrichExecutionflowPayload EventPayload = 4; */ + if (message.EventPayload) + ActorEnrichExecutionflowPayload.internalBinaryWrite(message.EventPayload, writer.tag(4, WireType.LengthDelimited).fork(), options).join(); + /* api.ActorEnrichExecutionflowPayload PreviousPayload = 5; */ + if (message.PreviousPayload) + ActorEnrichExecutionflowPayload.internalBinaryWrite(message.PreviousPayload, writer.tag(5, WireType.LengthDelimited).fork(), options).join(); + let u = options.writeUnknownFields; + if (u !== false) + (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); + return writer; + } +} +/** + * @generated MessageType for protobuf message api.ActorEnrichExecutionflow + */ +export const ActorEnrichExecutionflow = new ActorEnrichExecutionflow$Type(); diff --git a/package.json b/package.json index d319c31..a64646b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.15.0-SNAPSHOT-260825124103", + "version": "1.15.0-SNAPSHOT-260826080514", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts",