You've already forked npm-core-sdk
Latest generation
This commit is contained in:
145
actorAction.ts
145
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<ActorCompleteSnapshotPayload> {
|
||||
constructor() {
|
||||
@@ -541,3 +574,115 @@ class ClearSiteAlias$Type extends MessageType<ClearSiteAlias> {
|
||||
* @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<ActorEnrichExecutionflowPayload> {
|
||||
constructor() {
|
||||
super("api.ActorEnrichExecutionflowPayload", [], { "api.messageType": "Command", "api.payload": true, "api.action": "EnrichExecutionflow" });
|
||||
}
|
||||
create(value?: PartialMessage<ActorEnrichExecutionflowPayload>): ActorEnrichExecutionflowPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ActorEnrichExecutionflowPayload>(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<ActorEnrichExecutionflow> {
|
||||
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>): ActorEnrichExecutionflow {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ActorEnrichExecutionflow>(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();
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user