Latest generation

This commit is contained in:
ci core model
2026-08-28 12:23:14 +00:00
parent 0a7ebf250a
commit db7d082d92
2 changed files with 146 additions and 1 deletions

View File

@@ -183,6 +183,39 @@ export interface ActorEnrichExecutionflow {
*/ */
PreviousPayload?: ActorEnrichExecutionflowPayload; PreviousPayload?: ActorEnrichExecutionflowPayload;
} }
/**
*
* EnrichOrder : force enrichment of order for the actor, by sending a new executionflow event
*
* @generated from protobuf message api.ActorEnrichOrderPayload
*/
export interface ActorEnrichOrderPayload {
}
/**
* @generated from protobuf message api.ActorEnrichOrder
*/
export interface ActorEnrichOrder {
/**
* @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.ActorEnrichOrderPayload Payload = 3
*/
Payload?: ActorEnrichOrderPayload;
/**
* @generated from protobuf field: api.ActorEnrichOrderPayload EventPayload = 4
*/
EventPayload?: ActorEnrichOrderPayload;
/**
* @generated from protobuf field: api.ActorEnrichOrderPayload PreviousPayload = 5
*/
PreviousPayload?: ActorEnrichOrderPayload;
}
// @generated message type with reflection information, may provide speed optimized methods // @generated message type with reflection information, may provide speed optimized methods
class ActorCompleteSnapshotPayload$Type extends MessageType<ActorCompleteSnapshotPayload> { class ActorCompleteSnapshotPayload$Type extends MessageType<ActorCompleteSnapshotPayload> {
constructor() { constructor() {
@@ -686,3 +719,115 @@ class ActorEnrichExecutionflow$Type extends MessageType<ActorEnrichExecutionflow
* @generated MessageType for protobuf message api.ActorEnrichExecutionflow * @generated MessageType for protobuf message api.ActorEnrichExecutionflow
*/ */
export const ActorEnrichExecutionflow = new ActorEnrichExecutionflow$Type(); export const ActorEnrichExecutionflow = new ActorEnrichExecutionflow$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ActorEnrichOrderPayload$Type extends MessageType<ActorEnrichOrderPayload> {
constructor() {
super("api.ActorEnrichOrderPayload", [], { "api.messageType": "Command", "api.payload": true, "api.action": "EnrichOrder" });
}
create(value?: PartialMessage<ActorEnrichOrderPayload>): ActorEnrichOrderPayload {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<ActorEnrichOrderPayload>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorEnrichOrderPayload): ActorEnrichOrderPayload {
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: ActorEnrichOrderPayload, 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.ActorEnrichOrderPayload
*/
export const ActorEnrichOrderPayload = new ActorEnrichOrderPayload$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ActorEnrichOrder$Type extends MessageType<ActorEnrichOrder> {
constructor() {
super("api.ActorEnrichOrder", [
{ 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: () => ActorEnrichOrderPayload },
{ no: 4, name: "EventPayload", kind: "message", localName: "EventPayload", jsonName: "EventPayload", T: () => ActorEnrichOrderPayload },
{ no: 5, name: "PreviousPayload", kind: "message", localName: "PreviousPayload", jsonName: "PreviousPayload", T: () => ActorEnrichOrderPayload }
], { "api.messageType": "Command", "api.action": "EnrichOrder", "api.resultingEvent": "order.EnrichmentUpdated", "api.triggerEventFilters": "StockManagementUpdated" });
}
create(value?: PartialMessage<ActorEnrichOrder>): ActorEnrichOrder {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<ActorEnrichOrder>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorEnrichOrder): ActorEnrichOrder {
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.ActorEnrichOrderPayload Payload */ 3:
message.Payload = ActorEnrichOrderPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
break;
case /* api.ActorEnrichOrderPayload EventPayload */ 4:
message.EventPayload = ActorEnrichOrderPayload.internalBinaryRead(reader, reader.uint32(), options, message.EventPayload);
break;
case /* api.ActorEnrichOrderPayload PreviousPayload */ 5:
message.PreviousPayload = ActorEnrichOrderPayload.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: ActorEnrichOrder, 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.ActorEnrichOrderPayload Payload = 3; */
if (message.Payload)
ActorEnrichOrderPayload.internalBinaryWrite(message.Payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* api.ActorEnrichOrderPayload EventPayload = 4; */
if (message.EventPayload)
ActorEnrichOrderPayload.internalBinaryWrite(message.EventPayload, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* api.ActorEnrichOrderPayload PreviousPayload = 5; */
if (message.PreviousPayload)
ActorEnrichOrderPayload.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.ActorEnrichOrder
*/
export const ActorEnrichOrder = new ActorEnrichOrder$Type();

View File

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