You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1780,6 +1780,132 @@ export interface ExecutionflowDeletedResponse {
|
||||
*/
|
||||
ID?: EntityID;
|
||||
}
|
||||
/**
|
||||
* Event Payload
|
||||
*
|
||||
* @generated from protobuf message api.ExecutionflowLinesAddedPayload
|
||||
*/
|
||||
export interface ExecutionflowLinesAddedPayload {
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.ExeFlowLine Lines = 1
|
||||
*/
|
||||
Lines: ExeFlowLine[];
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
*
|
||||
* @generated from protobuf message api.ExecutionflowLinesAddedEvent
|
||||
*/
|
||||
export interface ExecutionflowLinesAddedEvent {
|
||||
/**
|
||||
* @generated from protobuf field: api.EventHeader Header = 1
|
||||
*/
|
||||
Header?: EventHeader;
|
||||
/**
|
||||
* @generated from protobuf field: api.EntityID ID = 2
|
||||
*/
|
||||
ID?: EntityID;
|
||||
/**
|
||||
* @generated from protobuf field: api.ExecutionflowLinesAddedPayload Payload = 3
|
||||
*/
|
||||
Payload?: ExecutionflowLinesAddedPayload;
|
||||
}
|
||||
/**
|
||||
* API Request
|
||||
*
|
||||
* @generated from protobuf message api.ExecutionflowLinesAddedRequest
|
||||
*/
|
||||
export interface ExecutionflowLinesAddedRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
||||
*/
|
||||
Header?: RequestProjectHeader;
|
||||
/**
|
||||
* @generated from protobuf field: api.EntityID ID = 2
|
||||
*/
|
||||
ID?: EntityID;
|
||||
/**
|
||||
* @generated from protobuf field: api.ExecutionflowLinesAddedPayload Payload = 3
|
||||
*/
|
||||
Payload?: ExecutionflowLinesAddedPayload;
|
||||
}
|
||||
/**
|
||||
* API Response
|
||||
*
|
||||
* @generated from protobuf message api.ExecutionflowLinesAddedResponse
|
||||
*/
|
||||
export interface ExecutionflowLinesAddedResponse {
|
||||
/**
|
||||
* @generated from protobuf field: api.ResponseHeader Header = 1
|
||||
*/
|
||||
Header?: ResponseHeader;
|
||||
/**
|
||||
* @generated from protobuf field: api.EntityID ID = 2
|
||||
*/
|
||||
ID?: EntityID;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ExecutionflowLinesDetectedPayload
|
||||
*/
|
||||
export interface ExecutionflowLinesDetectedPayload {
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.ExeFlowLine Lines = 1
|
||||
*/
|
||||
Lines: ExeFlowLine[];
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
*
|
||||
* @generated from protobuf message api.ExecutionflowLinesDetectedEvent
|
||||
*/
|
||||
export interface ExecutionflowLinesDetectedEvent {
|
||||
/**
|
||||
* @generated from protobuf field: api.EventHeader Header = 1
|
||||
*/
|
||||
Header?: EventHeader;
|
||||
/**
|
||||
* @generated from protobuf field: api.EntityID ID = 2
|
||||
*/
|
||||
ID?: EntityID;
|
||||
/**
|
||||
* @generated from protobuf field: api.ExecutionflowLinesDetectedPayload Payload = 3
|
||||
*/
|
||||
Payload?: ExecutionflowLinesDetectedPayload;
|
||||
}
|
||||
/**
|
||||
* API Request
|
||||
*
|
||||
* @generated from protobuf message api.ExecutionflowLinesDetectedRequest
|
||||
*/
|
||||
export interface ExecutionflowLinesDetectedRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
||||
*/
|
||||
Header?: RequestProjectHeader;
|
||||
/**
|
||||
* @generated from protobuf field: api.EntityID ID = 2
|
||||
*/
|
||||
ID?: EntityID;
|
||||
/**
|
||||
* @generated from protobuf field: api.ExecutionflowLinesDetectedPayload Payload = 3
|
||||
*/
|
||||
Payload?: ExecutionflowLinesDetectedPayload;
|
||||
}
|
||||
/**
|
||||
* API Response
|
||||
*
|
||||
* @generated from protobuf message api.ExecutionflowLinesDetectedResponse
|
||||
*/
|
||||
export interface ExecutionflowLinesDetectedResponse {
|
||||
/**
|
||||
* @generated from protobuf field: api.ResponseHeader Header = 1
|
||||
*/
|
||||
Header?: ResponseHeader;
|
||||
/**
|
||||
* @generated from protobuf field: api.EntityID ID = 2
|
||||
*/
|
||||
ID?: EntityID;
|
||||
}
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowCreatedPayload$Type extends MessageType<ExecutionflowCreatedPayload> {
|
||||
constructor() {
|
||||
@@ -7945,6 +8071,446 @@ class ExecutionflowDeletedResponse$Type extends MessageType<ExecutionflowDeleted
|
||||
* @generated MessageType for protobuf message api.ExecutionflowDeletedResponse
|
||||
*/
|
||||
export const ExecutionflowDeletedResponse = new ExecutionflowDeletedResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowLinesAddedPayload$Type extends MessageType<ExecutionflowLinesAddedPayload> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowLinesAddedPayload", [
|
||||
{ no: 1, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExeFlowLine, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of trade. Executionflow lines. Defines the requested goods and the prepared goods" }, "api.aggKey": "LineID" } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "LinesAdded" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowLinesAddedPayload>): ExecutionflowLinesAddedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Lines = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowLinesAddedPayload>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowLinesAddedPayload): ExecutionflowLinesAddedPayload {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated api.ExeFlowLine Lines */ 1:
|
||||
message.Lines.push(ExeFlowLine.internalBinaryRead(reader, reader.uint32(), options));
|
||||
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: ExecutionflowLinesAddedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated api.ExeFlowLine Lines = 1; */
|
||||
for (let i = 0; i < message.Lines.length; i++)
|
||||
ExeFlowLine.internalBinaryWrite(message.Lines[i], writer.tag(1, 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.ExecutionflowLinesAddedPayload
|
||||
*/
|
||||
export const ExecutionflowLinesAddedPayload = new ExecutionflowLinesAddedPayload$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowLinesAddedEvent$Type extends MessageType<ExecutionflowLinesAddedEvent> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowLinesAddedEvent", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowLinesAddedPayload }
|
||||
], { "api.messageType": "Event", "api.inputEvent": "LinesAdded" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowLinesAddedEvent>): ExecutionflowLinesAddedEvent {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowLinesAddedEvent>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowLinesAddedEvent): ExecutionflowLinesAddedEvent {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.EventHeader Header */ 1:
|
||||
message.Header = EventHeader.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.ExecutionflowLinesAddedPayload Payload */ 3:
|
||||
message.Payload = ExecutionflowLinesAddedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
||||
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: ExecutionflowLinesAddedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.EventHeader Header = 1; */
|
||||
if (message.Header)
|
||||
EventHeader.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.ExecutionflowLinesAddedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
ExecutionflowLinesAddedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowLinesAddedEvent
|
||||
*/
|
||||
export const ExecutionflowLinesAddedEvent = new ExecutionflowLinesAddedEvent$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowLinesAddedRequest$Type extends MessageType<ExecutionflowLinesAddedRequest> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowLinesAddedRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowLinesAddedPayload }
|
||||
], { "api.messageType": "Request", "api.inputEvent": "LinesAdded" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowLinesAddedRequest>): ExecutionflowLinesAddedRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowLinesAddedRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowLinesAddedRequest): ExecutionflowLinesAddedRequest {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.RequestProjectHeader Header */ 1:
|
||||
message.Header = RequestProjectHeader.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.ExecutionflowLinesAddedPayload Payload */ 3:
|
||||
message.Payload = ExecutionflowLinesAddedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
||||
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: ExecutionflowLinesAddedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.RequestProjectHeader Header = 1; */
|
||||
if (message.Header)
|
||||
RequestProjectHeader.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.ExecutionflowLinesAddedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
ExecutionflowLinesAddedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowLinesAddedRequest
|
||||
*/
|
||||
export const ExecutionflowLinesAddedRequest = new ExecutionflowLinesAddedRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowLinesAddedResponse$Type extends MessageType<ExecutionflowLinesAddedResponse> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowLinesAddedResponse", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }
|
||||
], { "api.messageType": "Response", "api.inputEvent": "LinesAdded" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowLinesAddedResponse>): ExecutionflowLinesAddedResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowLinesAddedResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowLinesAddedResponse): ExecutionflowLinesAddedResponse {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.ResponseHeader Header */ 1:
|
||||
message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
break;
|
||||
case /* api.EntityID ID */ 2:
|
||||
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
||||
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: ExecutionflowLinesAddedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.ResponseHeader Header = 1; */
|
||||
if (message.Header)
|
||||
ResponseHeader.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();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.ExecutionflowLinesAddedResponse
|
||||
*/
|
||||
export const ExecutionflowLinesAddedResponse = new ExecutionflowLinesAddedResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowLinesDetectedPayload$Type extends MessageType<ExecutionflowLinesDetectedPayload> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowLinesDetectedPayload", [
|
||||
{ no: 1, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExeFlowLine, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of trade. Executionflow lines. Defines the requested goods and the prepared goods" }, "api.aggKey": "LineID" } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "LinesDetected" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowLinesDetectedPayload>): ExecutionflowLinesDetectedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Lines = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowLinesDetectedPayload>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowLinesDetectedPayload): ExecutionflowLinesDetectedPayload {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated api.ExeFlowLine Lines */ 1:
|
||||
message.Lines.push(ExeFlowLine.internalBinaryRead(reader, reader.uint32(), options));
|
||||
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: ExecutionflowLinesDetectedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated api.ExeFlowLine Lines = 1; */
|
||||
for (let i = 0; i < message.Lines.length; i++)
|
||||
ExeFlowLine.internalBinaryWrite(message.Lines[i], writer.tag(1, 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.ExecutionflowLinesDetectedPayload
|
||||
*/
|
||||
export const ExecutionflowLinesDetectedPayload = new ExecutionflowLinesDetectedPayload$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowLinesDetectedEvent$Type extends MessageType<ExecutionflowLinesDetectedEvent> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowLinesDetectedEvent", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowLinesDetectedPayload }
|
||||
], { "api.messageType": "Event", "api.inputEvent": "LinesDetected" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowLinesDetectedEvent>): ExecutionflowLinesDetectedEvent {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowLinesDetectedEvent>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowLinesDetectedEvent): ExecutionflowLinesDetectedEvent {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.EventHeader Header */ 1:
|
||||
message.Header = EventHeader.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.ExecutionflowLinesDetectedPayload Payload */ 3:
|
||||
message.Payload = ExecutionflowLinesDetectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
||||
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: ExecutionflowLinesDetectedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.EventHeader Header = 1; */
|
||||
if (message.Header)
|
||||
EventHeader.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.ExecutionflowLinesDetectedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
ExecutionflowLinesDetectedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowLinesDetectedEvent
|
||||
*/
|
||||
export const ExecutionflowLinesDetectedEvent = new ExecutionflowLinesDetectedEvent$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowLinesDetectedRequest$Type extends MessageType<ExecutionflowLinesDetectedRequest> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowLinesDetectedRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowLinesDetectedPayload }
|
||||
], { "api.messageType": "Request", "api.inputEvent": "LinesDetected" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowLinesDetectedRequest>): ExecutionflowLinesDetectedRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowLinesDetectedRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowLinesDetectedRequest): ExecutionflowLinesDetectedRequest {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.RequestProjectHeader Header */ 1:
|
||||
message.Header = RequestProjectHeader.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.ExecutionflowLinesDetectedPayload Payload */ 3:
|
||||
message.Payload = ExecutionflowLinesDetectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
||||
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: ExecutionflowLinesDetectedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.RequestProjectHeader Header = 1; */
|
||||
if (message.Header)
|
||||
RequestProjectHeader.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.ExecutionflowLinesDetectedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
ExecutionflowLinesDetectedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowLinesDetectedRequest
|
||||
*/
|
||||
export const ExecutionflowLinesDetectedRequest = new ExecutionflowLinesDetectedRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowLinesDetectedResponse$Type extends MessageType<ExecutionflowLinesDetectedResponse> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowLinesDetectedResponse", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }
|
||||
], { "api.messageType": "Response", "api.inputEvent": "LinesDetected" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowLinesDetectedResponse>): ExecutionflowLinesDetectedResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowLinesDetectedResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowLinesDetectedResponse): ExecutionflowLinesDetectedResponse {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.ResponseHeader Header */ 1:
|
||||
message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
break;
|
||||
case /* api.EntityID ID */ 2:
|
||||
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
||||
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: ExecutionflowLinesDetectedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.ResponseHeader Header = 1; */
|
||||
if (message.Header)
|
||||
ResponseHeader.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();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.ExecutionflowLinesDetectedResponse
|
||||
*/
|
||||
export const ExecutionflowLinesDetectedResponse = new ExecutionflowLinesDetectedResponse$Type();
|
||||
/**
|
||||
* @generated ServiceType for protobuf service api.ExecutionflowInputAPI
|
||||
*/
|
||||
@@ -7976,5 +8542,7 @@ export const ExecutionflowInputAPI = new ServiceType("api.ExecutionflowInputAPI"
|
||||
{ name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An attachment is removed for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowAttachmentRemovedRequest, O: ExecutionflowAttachmentRemovedResponse },
|
||||
{ name: "AllocationError", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An allocation error occured on the Executionflow." }, "api.rscType": "Project", "api.platformReserved": true, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowAllocationErrorRequest, O: ExecutionflowAllocationErrorResponse },
|
||||
{ name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "A claim is added for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowClaimAddedRequest, O: ExecutionflowClaimAddedResponse },
|
||||
{ name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An executionflow has been deleted. This is called from Reflex Platform Admin service to share the Organisation executionflows." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowDeletedRequest, O: ExecutionflowDeletedResponse }
|
||||
{ name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An executionflow has been deleted. This is called from Reflex Platform Admin service to share the Organisation executionflows." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowDeletedRequest, O: ExecutionflowDeletedResponse },
|
||||
{ name: "LinesAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Some lines are added for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowLinesAddedRequest, O: ExecutionflowLinesAddedResponse },
|
||||
{ name: "LinesDetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Some lines are added for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowLinesDetectedRequest, O: ExecutionflowLinesDetectedResponse }
|
||||
], { "api.serviceType": "Api", "api.k8sService": "api-server" });
|
||||
|
||||
Reference in New Issue
Block a user