Latest generation

This commit is contained in:
ci core model
2026-05-28 08:13:32 +00:00
parent b5ebc4997e
commit 5dc7b22fdf
18 changed files with 1763 additions and 285 deletions

View File

@@ -11,6 +11,7 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { reflectionMergePartial } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { AppointmentSummary } from "./shared";
import { ClaimSummary } from "./shared";
import { AttachmentSummary } from "./shared";
import { ETA } from "./tradeShared";
@@ -2068,6 +2069,69 @@ export interface ExecutionflowCustomFieldsUpdatedResponse {
*/
ID?: EntityID;
}
//
// AppointmentUpdated : this message tells that an appointment is updated for the executionFlow
/**
* @generated from protobuf message api.ExecutionflowAppointmentUpdatedPayload
*/
export interface ExecutionflowAppointmentUpdatedPayload {
/**
* @generated from protobuf field: repeated api.AppointmentSummary Appointments = 1
*/
Appointments: AppointmentSummary[];
/**
* @generated from protobuf field: repeated api.AppointmentSummary RemovedAppointments = 2
*/
RemovedAppointments: AppointmentSummary[];
}
/**
* @generated from protobuf message api.ExecutionflowAppointmentUpdatedEvent
*/
export interface ExecutionflowAppointmentUpdatedEvent {
/**
* @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.ExecutionflowAppointmentUpdatedPayload Payload = 3
*/
Payload?: ExecutionflowAppointmentUpdatedPayload;
}
/**
* @generated from protobuf message api.ExecutionflowAppointmentUpdatedRequest
*/
export interface ExecutionflowAppointmentUpdatedRequest {
/**
* @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.ExecutionflowAppointmentUpdatedPayload Payload = 3
*/
Payload?: ExecutionflowAppointmentUpdatedPayload;
}
/**
* @generated from protobuf message api.ExecutionflowAppointmentUpdatedResponse
*/
export interface ExecutionflowAppointmentUpdatedResponse {
/**
* @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() {
@@ -9306,6 +9370,234 @@ class ExecutionflowCustomFieldsUpdatedResponse$Type extends MessageType<Executio
* @generated MessageType for protobuf message api.ExecutionflowCustomFieldsUpdatedResponse
*/
export const ExecutionflowCustomFieldsUpdatedResponse = new ExecutionflowCustomFieldsUpdatedResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ExecutionflowAppointmentUpdatedPayload$Type extends MessageType<ExecutionflowAppointmentUpdatedPayload> {
constructor() {
super("api.ExecutionflowAppointmentUpdatedPayload", [
{ no: 1, name: "Appointments", kind: "message", localName: "Appointments", jsonName: "Appointments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of appointments updated" } } },
{ no: 2, name: "RemovedAppointments", kind: "message", localName: "RemovedAppointments", jsonName: "RemovedAppointments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of appointments removed" } } }
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AppointmentUpdated" });
}
create(value?: PartialMessage<ExecutionflowAppointmentUpdatedPayload>): ExecutionflowAppointmentUpdatedPayload {
const message = globalThis.Object.create((this.messagePrototype!));
message.Appointments = [];
message.RemovedAppointments = [];
if (value !== undefined)
reflectionMergePartial<ExecutionflowAppointmentUpdatedPayload>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAppointmentUpdatedPayload): ExecutionflowAppointmentUpdatedPayload {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated api.AppointmentSummary Appointments */ 1:
message.Appointments.push(AppointmentSummary.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* repeated api.AppointmentSummary RemovedAppointments */ 2:
message.RemovedAppointments.push(AppointmentSummary.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: ExecutionflowAppointmentUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated api.AppointmentSummary Appointments = 1; */
for (let i = 0; i < message.Appointments.length; i++)
AppointmentSummary.internalBinaryWrite(message.Appointments[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* repeated api.AppointmentSummary RemovedAppointments = 2; */
for (let i = 0; i < message.RemovedAppointments.length; i++)
AppointmentSummary.internalBinaryWrite(message.RemovedAppointments[i], 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.ExecutionflowAppointmentUpdatedPayload
*/
export const ExecutionflowAppointmentUpdatedPayload = new ExecutionflowAppointmentUpdatedPayload$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ExecutionflowAppointmentUpdatedEvent$Type extends MessageType<ExecutionflowAppointmentUpdatedEvent> {
constructor() {
super("api.ExecutionflowAppointmentUpdatedEvent", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowAppointmentUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } }
], { "api.messageType": "Event", "api.inputEvent": "AppointmentUpdated", "api.preAggMethods": "updateAppointment" });
}
create(value?: PartialMessage<ExecutionflowAppointmentUpdatedEvent>): ExecutionflowAppointmentUpdatedEvent {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<ExecutionflowAppointmentUpdatedEvent>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAppointmentUpdatedEvent): ExecutionflowAppointmentUpdatedEvent {
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.ExecutionflowAppointmentUpdatedPayload Payload */ 3:
message.Payload = ExecutionflowAppointmentUpdatedPayload.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: ExecutionflowAppointmentUpdatedEvent, 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.ExecutionflowAppointmentUpdatedPayload Payload = 3; */
if (message.Payload)
ExecutionflowAppointmentUpdatedPayload.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.ExecutionflowAppointmentUpdatedEvent
*/
export const ExecutionflowAppointmentUpdatedEvent = new ExecutionflowAppointmentUpdatedEvent$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ExecutionflowAppointmentUpdatedRequest$Type extends MessageType<ExecutionflowAppointmentUpdatedRequest> {
constructor() {
super("api.ExecutionflowAppointmentUpdatedRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowAppointmentUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "AppointmentUpdated" });
}
create(value?: PartialMessage<ExecutionflowAppointmentUpdatedRequest>): ExecutionflowAppointmentUpdatedRequest {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<ExecutionflowAppointmentUpdatedRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAppointmentUpdatedRequest): ExecutionflowAppointmentUpdatedRequest {
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.ExecutionflowAppointmentUpdatedPayload Payload */ 3:
message.Payload = ExecutionflowAppointmentUpdatedPayload.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: ExecutionflowAppointmentUpdatedRequest, 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.ExecutionflowAppointmentUpdatedPayload Payload = 3; */
if (message.Payload)
ExecutionflowAppointmentUpdatedPayload.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.ExecutionflowAppointmentUpdatedRequest
*/
export const ExecutionflowAppointmentUpdatedRequest = new ExecutionflowAppointmentUpdatedRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ExecutionflowAppointmentUpdatedResponse$Type extends MessageType<ExecutionflowAppointmentUpdatedResponse> {
constructor() {
super("api.ExecutionflowAppointmentUpdatedResponse", [
{ 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": "AppointmentUpdated" });
}
create(value?: PartialMessage<ExecutionflowAppointmentUpdatedResponse>): ExecutionflowAppointmentUpdatedResponse {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<ExecutionflowAppointmentUpdatedResponse>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAppointmentUpdatedResponse): ExecutionflowAppointmentUpdatedResponse {
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: ExecutionflowAppointmentUpdatedResponse, 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.ExecutionflowAppointmentUpdatedResponse
*/
export const ExecutionflowAppointmentUpdatedResponse = new ExecutionflowAppointmentUpdatedResponse$Type();
/**
* @generated ServiceType for protobuf service api.ExecutionflowInputAPI
*/
@@ -9342,5 +9634,6 @@ export const ExecutionflowInputAPI = new ServiceType("api.ExecutionflowInputAPI"
{ 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, "api.tags": "PROJECT_ACTIVITY", "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", "api.tags": "PROJECT_ACTIVITY", "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, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowSanitisedRequest, O: ExecutionflowSanitisedResponse },
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowCustomFieldsUpdatedRequest, O: ExecutionflowCustomFieldsUpdatedResponse }
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowCustomFieldsUpdatedRequest, O: ExecutionflowCustomFieldsUpdatedResponse },
{ name: "AppointmentUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An appointment is updated for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowAppointmentUpdatedRequest, O: ExecutionflowAppointmentUpdatedResponse }
], { "api.serviceType": "Api", "api.k8sService": "api-server" });