You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -2016,6 +2016,58 @@ export interface ExecutionflowSanitisedResponse {
|
||||
*/
|
||||
ID?: EntityID;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ExecutionflowCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export interface ExecutionflowCustomFieldsUpdatedPayload {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ExecutionflowCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export interface ExecutionflowCustomFieldsUpdatedEvent {
|
||||
/**
|
||||
* @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.ExecutionflowCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: ExecutionflowCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ExecutionflowCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export interface ExecutionflowCustomFieldsUpdatedRequest {
|
||||
/**
|
||||
* @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.ExecutionflowCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: ExecutionflowCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ExecutionflowCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export interface ExecutionflowCustomFieldsUpdatedResponse {
|
||||
/**
|
||||
* @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() {
|
||||
@@ -9043,6 +9095,217 @@ class ExecutionflowSanitisedResponse$Type extends MessageType<ExecutionflowSanit
|
||||
* @generated MessageType for protobuf message api.ExecutionflowSanitisedResponse
|
||||
*/
|
||||
export const ExecutionflowSanitisedResponse = new ExecutionflowSanitisedResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowCustomFieldsUpdatedPayload$Type extends MessageType<ExecutionflowCustomFieldsUpdatedPayload> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowCustomFieldsUpdatedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowCustomFieldsUpdatedPayload>): ExecutionflowCustomFieldsUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowCustomFieldsUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCustomFieldsUpdatedPayload): ExecutionflowCustomFieldsUpdatedPayload {
|
||||
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: ExecutionflowCustomFieldsUpdatedPayload, 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.ExecutionflowCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export const ExecutionflowCustomFieldsUpdatedPayload = new ExecutionflowCustomFieldsUpdatedPayload$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowCustomFieldsUpdatedEvent$Type extends MessageType<ExecutionflowCustomFieldsUpdatedEvent> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowCustomFieldsUpdatedEvent", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowCustomFieldsUpdatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
||||
], { "api.messageType": "Event", "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowCustomFieldsUpdatedEvent>): ExecutionflowCustomFieldsUpdatedEvent {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowCustomFieldsUpdatedEvent>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCustomFieldsUpdatedEvent): ExecutionflowCustomFieldsUpdatedEvent {
|
||||
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.ExecutionflowCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = ExecutionflowCustomFieldsUpdatedPayload.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: ExecutionflowCustomFieldsUpdatedEvent, 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.ExecutionflowCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
ExecutionflowCustomFieldsUpdatedPayload.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.ExecutionflowCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export const ExecutionflowCustomFieldsUpdatedEvent = new ExecutionflowCustomFieldsUpdatedEvent$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowCustomFieldsUpdatedRequest$Type extends MessageType<ExecutionflowCustomFieldsUpdatedRequest> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowCustomFieldsUpdatedRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowCustomFieldsUpdatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowCustomFieldsUpdatedRequest>): ExecutionflowCustomFieldsUpdatedRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowCustomFieldsUpdatedRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCustomFieldsUpdatedRequest): ExecutionflowCustomFieldsUpdatedRequest {
|
||||
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.ExecutionflowCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = ExecutionflowCustomFieldsUpdatedPayload.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: ExecutionflowCustomFieldsUpdatedRequest, 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.ExecutionflowCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
ExecutionflowCustomFieldsUpdatedPayload.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.ExecutionflowCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export const ExecutionflowCustomFieldsUpdatedRequest = new ExecutionflowCustomFieldsUpdatedRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowCustomFieldsUpdatedResponse$Type extends MessageType<ExecutionflowCustomFieldsUpdatedResponse> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowCustomFieldsUpdatedResponse", [
|
||||
{ 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": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowCustomFieldsUpdatedResponse>): ExecutionflowCustomFieldsUpdatedResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowCustomFieldsUpdatedResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCustomFieldsUpdatedResponse): ExecutionflowCustomFieldsUpdatedResponse {
|
||||
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: ExecutionflowCustomFieldsUpdatedResponse, 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.ExecutionflowCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export const ExecutionflowCustomFieldsUpdatedResponse = new ExecutionflowCustomFieldsUpdatedResponse$Type();
|
||||
/**
|
||||
* @generated ServiceType for protobuf service api.ExecutionflowInputAPI
|
||||
*/
|
||||
@@ -9078,5 +9341,6 @@ export const ExecutionflowInputAPI = new ServiceType("api.ExecutionflowInputAPI"
|
||||
{ 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: "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 },
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Executionflow has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowSanitisedRequest, O: ExecutionflowSanitisedResponse }
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Executionflow has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowSanitisedRequest, O: ExecutionflowSanitisedResponse },
|
||||
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowCustomFieldsUpdatedRequest, O: ExecutionflowCustomFieldsUpdatedResponse }
|
||||
], { "api.serviceType": "Api", "api.k8sService": "api-server" });
|
||||
|
||||
Reference in New Issue
Block a user