Latest generation

This commit is contained in:
ci core model
2026-05-05 09:18:11 +00:00
parent da2b0d3826
commit 685abd5206
4 changed files with 53 additions and 5 deletions

View File

@@ -141,6 +141,10 @@ export interface OrderPayload {
* @generated from protobuf field: api.ETA OrderETA = 23
*/
OrderETA?: ETA;
/**
* @generated from protobuf field: bool Anticipated = 24
*/
Anticipated: boolean;
}
/**
* Order entity
@@ -266,7 +270,8 @@ class OrderPayload$Type extends MessageType<OrderPayload> {
{ no: 20, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims per type" }, "api.aggKey": "ClaimTypeID", "api.aggSkip": "ClaimAdded" } },
{ no: 21, name: "ClaimNumber", kind: "scalar", localName: "ClaimNumber", jsonName: "ClaimNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of claims" } } },
{ no: 22, name: "ExecutionflowETAs", kind: "message", localName: "ExecutionflowETAs", jsonName: "ExecutionflowETAs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ETAbyExecutionflow, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ETA for each executionflow attached to the order" }, "api.aggKey": "ExecutionflowID", "api.aggSkip": "ExecutionflowETAUpdated" } },
{ no: 23, name: "OrderETA", kind: "message", localName: "OrderETA", jsonName: "OrderETA", T: () => ETA, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ETA for the order, computed from ETA of the execitionFlows" }, "api.aggSkip": "ETAUpdated" } }
{ no: 23, name: "OrderETA", kind: "message", localName: "OrderETA", jsonName: "OrderETA", T: () => ETA, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ETA for the order, computed from ETA of the execitionFlows" }, "api.aggSkip": "ETAUpdated" } },
{ no: 24, name: "Anticipated", kind: "scalar", localName: "Anticipated", jsonName: "Anticipated", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Anticipated orders are not automatically associated to an executionflow" } } }
]);
}
create(value?: PartialMessage<OrderPayload>): OrderPayload {
@@ -281,6 +286,7 @@ class OrderPayload$Type extends MessageType<OrderPayload> {
message.Claims = [];
message.ClaimNumber = 0;
message.ExecutionflowETAs = [];
message.Anticipated = false;
if (value !== undefined)
reflectionMergePartial<OrderPayload>(this, message, value);
return message;
@@ -356,6 +362,9 @@ class OrderPayload$Type extends MessageType<OrderPayload> {
case /* api.ETA OrderETA */ 23:
message.OrderETA = ETA.internalBinaryRead(reader, reader.uint32(), options, message.OrderETA);
break;
case /* bool Anticipated */ 24:
message.Anticipated = reader.bool();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -434,6 +443,9 @@ class OrderPayload$Type extends MessageType<OrderPayload> {
/* api.ETA OrderETA = 23; */
if (message.OrderETA)
ETA.internalBinaryWrite(message.OrderETA, writer.tag(23, WireType.LengthDelimited).fork(), options).join();
/* bool Anticipated = 24; */
if (message.Anticipated !== false)
writer.tag(24, WireType.Varint).bool(message.Anticipated);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);