You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -812,7 +812,7 @@ class ExecutionflowNotifyPartnerApps$Type extends MessageType<ExecutionflowNotif
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowNotifyPartnerAppsPayload },
|
||||
{ no: 4, name: "EventPayload", kind: "message", localName: "EventPayload", jsonName: "EventPayload", T: () => ExecutionflowNotifyPartnerAppsPayload },
|
||||
{ no: 5, name: "PreviousPayload", kind: "message", localName: "PreviousPayload", jsonName: "PreviousPayload", T: () => ExecutionflowNotifyPartnerAppsPayload }
|
||||
], { "api.messageType": "Command", "api.action": "NotifyPartnerApps", "api.triggerEventFilters": "Detected,Created", "api.triggerNotEventFilters": "Restored,ETAUpdated,HUETAUpdated" });
|
||||
], { "api.messageType": "Command", "api.action": "NotifyPartnerApps", "api.triggerEventFilters": "Detected,Created,Renotified", "api.triggerNotEventFilters": "Restored,ETAUpdated,HUETAUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowNotifyPartnerApps>): ExecutionflowNotifyPartnerApps {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { ExecutionflowInputAPI } from "./executionflowInput";
|
||||
import type { ExecutionflowRenotifiedResponse } from "./executionflowInput";
|
||||
import type { ExecutionflowRenotifiedRequest } from "./executionflowInput";
|
||||
import type { ExecutionflowLinesDetectedResponse } from "./executionflowInput";
|
||||
import type { ExecutionflowLinesDetectedRequest } from "./executionflowInput";
|
||||
import type { ExecutionflowLinesAddedResponse } from "./executionflowInput";
|
||||
@@ -194,6 +196,10 @@ export interface IExecutionflowInputAPIClient {
|
||||
* @generated from protobuf rpc: LinesDetected
|
||||
*/
|
||||
linesDetected(input: ExecutionflowLinesDetectedRequest, options?: RpcOptions): UnaryCall<ExecutionflowLinesDetectedRequest, ExecutionflowLinesDetectedResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: Renotified
|
||||
*/
|
||||
renotified(input: ExecutionflowRenotifiedRequest, options?: RpcOptions): UnaryCall<ExecutionflowRenotifiedRequest, ExecutionflowRenotifiedResponse>;
|
||||
}
|
||||
/**
|
||||
*
|
||||
@@ -417,4 +423,11 @@ export class ExecutionflowInputAPIClient implements IExecutionflowInputAPIClient
|
||||
const method = this.methods[29], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ExecutionflowLinesDetectedRequest, ExecutionflowLinesDetectedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Renotified
|
||||
*/
|
||||
renotified(input: ExecutionflowRenotifiedRequest, options?: RpcOptions): UnaryCall<ExecutionflowRenotifiedRequest, ExecutionflowRenotifiedResponse> {
|
||||
const method = this.methods[30], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ExecutionflowRenotifiedRequest, ExecutionflowRenotifiedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1906,6 +1906,64 @@ export interface ExecutionflowLinesDetectedResponse {
|
||||
*/
|
||||
ID?: EntityID;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ExecutionflowRenotifiedPayload
|
||||
*/
|
||||
export interface ExecutionflowRenotifiedPayload {
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
*
|
||||
* @generated from protobuf message api.ExecutionflowRenotifiedEvent
|
||||
*/
|
||||
export interface ExecutionflowRenotifiedEvent {
|
||||
/**
|
||||
* @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.ExecutionflowRenotifiedPayload Payload = 3
|
||||
*/
|
||||
Payload?: ExecutionflowRenotifiedPayload;
|
||||
}
|
||||
/**
|
||||
* API Request
|
||||
*
|
||||
* @generated from protobuf message api.ExecutionflowRenotifiedRequest
|
||||
*/
|
||||
export interface ExecutionflowRenotifiedRequest {
|
||||
/**
|
||||
* @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.ExecutionflowRenotifiedPayload Payload = 3
|
||||
*/
|
||||
Payload?: ExecutionflowRenotifiedPayload;
|
||||
}
|
||||
/**
|
||||
* API Response
|
||||
*
|
||||
* @generated from protobuf message api.ExecutionflowRenotifiedResponse
|
||||
*/
|
||||
export interface ExecutionflowRenotifiedResponse {
|
||||
/**
|
||||
* @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() {
|
||||
@@ -8511,6 +8569,217 @@ class ExecutionflowLinesDetectedResponse$Type extends MessageType<ExecutionflowL
|
||||
* @generated MessageType for protobuf message api.ExecutionflowLinesDetectedResponse
|
||||
*/
|
||||
export const ExecutionflowLinesDetectedResponse = new ExecutionflowLinesDetectedResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowRenotifiedPayload$Type extends MessageType<ExecutionflowRenotifiedPayload> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowRenotifiedPayload", [], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Renotified" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowRenotifiedPayload>): ExecutionflowRenotifiedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowRenotifiedPayload>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowRenotifiedPayload): ExecutionflowRenotifiedPayload {
|
||||
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: ExecutionflowRenotifiedPayload, 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.ExecutionflowRenotifiedPayload
|
||||
*/
|
||||
export const ExecutionflowRenotifiedPayload = new ExecutionflowRenotifiedPayload$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowRenotifiedEvent$Type extends MessageType<ExecutionflowRenotifiedEvent> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowRenotifiedEvent", [
|
||||
{ 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: () => ExecutionflowRenotifiedPayload }
|
||||
], { "api.messageType": "Event", "api.inputEvent": "Renotified" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowRenotifiedEvent>): ExecutionflowRenotifiedEvent {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowRenotifiedEvent>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowRenotifiedEvent): ExecutionflowRenotifiedEvent {
|
||||
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.ExecutionflowRenotifiedPayload Payload */ 3:
|
||||
message.Payload = ExecutionflowRenotifiedPayload.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: ExecutionflowRenotifiedEvent, 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.ExecutionflowRenotifiedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
ExecutionflowRenotifiedPayload.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.ExecutionflowRenotifiedEvent
|
||||
*/
|
||||
export const ExecutionflowRenotifiedEvent = new ExecutionflowRenotifiedEvent$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowRenotifiedRequest$Type extends MessageType<ExecutionflowRenotifiedRequest> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowRenotifiedRequest", [
|
||||
{ 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: () => ExecutionflowRenotifiedPayload }
|
||||
], { "api.messageType": "Request", "api.inputEvent": "Renotified" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowRenotifiedRequest>): ExecutionflowRenotifiedRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowRenotifiedRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowRenotifiedRequest): ExecutionflowRenotifiedRequest {
|
||||
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.ExecutionflowRenotifiedPayload Payload */ 3:
|
||||
message.Payload = ExecutionflowRenotifiedPayload.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: ExecutionflowRenotifiedRequest, 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.ExecutionflowRenotifiedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
ExecutionflowRenotifiedPayload.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.ExecutionflowRenotifiedRequest
|
||||
*/
|
||||
export const ExecutionflowRenotifiedRequest = new ExecutionflowRenotifiedRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowRenotifiedResponse$Type extends MessageType<ExecutionflowRenotifiedResponse> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowRenotifiedResponse", [
|
||||
{ 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": "Renotified" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowRenotifiedResponse>): ExecutionflowRenotifiedResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowRenotifiedResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowRenotifiedResponse): ExecutionflowRenotifiedResponse {
|
||||
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: ExecutionflowRenotifiedResponse, 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.ExecutionflowRenotifiedResponse
|
||||
*/
|
||||
export const ExecutionflowRenotifiedResponse = new ExecutionflowRenotifiedResponse$Type();
|
||||
/**
|
||||
* @generated ServiceType for protobuf service api.ExecutionflowInputAPI
|
||||
*/
|
||||
@@ -8544,5 +8813,6 @@ export const ExecutionflowInputAPI = new ServiceType("api.ExecutionflowInputAPI"
|
||||
{ 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: "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: "PUBLIC" } }, I: ExecutionflowLinesAddedRequest, O: ExecutionflowLinesAddedResponse },
|
||||
{ name: "LinesDetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Adding lines in the Order has been reported to an Executionflow. This is called internally." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowLinesDetectedRequest, O: ExecutionflowLinesDetectedResponse }
|
||||
{ name: "LinesDetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Adding lines in the Order has been reported to an Executionflow. This is called internally." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowLinesDetectedRequest, O: ExecutionflowLinesDetectedResponse },
|
||||
{ name: "Renotified", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Re-notify the connected partnerApps." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowRenotifiedRequest, O: ExecutionflowRenotifiedResponse }
|
||||
], { "api.serviceType": "Api", "api.k8sService": "api-server" });
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.12.0-SNAPSHOT-250908085717",
|
||||
"version": "1.12.0-SNAPSHOT-250908122523",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
Reference in New Issue
Block a user