Latest generation

This commit is contained in:
ci core model
2026-03-13 14:18:21 +00:00
parent ac90b0cfa7
commit 2f2fd2afa1
5 changed files with 141 additions and 4 deletions

View File

@@ -691,6 +691,10 @@ export interface Booking {
* @generated from protobuf field: string LastUpdate = 12
*/
LastUpdate: string;
/**
* @generated from protobuf field: bool Locked = 13
*/
Locked: boolean;
}
/**
* @generated from protobuf message api.SlotGroup
@@ -2702,7 +2706,8 @@ class Booking$Type extends MessageType<Booking> {
{ no: 9, name: "Loading", kind: "message", localName: "Loading", jsonName: "Loading", T: () => AppointmentContent },
{ no: 10, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent },
{ no: 8, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ },
{ no: 12, name: "LastUpdate", kind: "scalar", localName: "LastUpdate", jsonName: "LastUpdate", T: 9 /*ScalarType.STRING*/ }
{ no: 12, name: "LastUpdate", kind: "scalar", localName: "LastUpdate", jsonName: "LastUpdate", T: 9 /*ScalarType.STRING*/ },
{ no: 13, name: "Locked", kind: "scalar", localName: "Locked", jsonName: "Locked", T: 8 /*ScalarType.BOOL*/ }
]);
}
create(value?: PartialMessage<Booking>): Booking {
@@ -2716,6 +2721,7 @@ class Booking$Type extends MessageType<Booking> {
message.Emails = [];
message.Reason = "";
message.LastUpdate = "";
message.Locked = false;
if (value !== undefined)
reflectionMergePartial<Booking>(this, message, value);
return message;
@@ -2758,6 +2764,9 @@ class Booking$Type extends MessageType<Booking> {
case /* string LastUpdate */ 12:
message.LastUpdate = reader.string();
break;
case /* bool Locked */ 13:
message.Locked = reader.bool();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -2803,6 +2812,9 @@ class Booking$Type extends MessageType<Booking> {
/* string LastUpdate = 12; */
if (message.LastUpdate !== "")
writer.tag(12, WireType.LengthDelimited).string(message.LastUpdate);
/* bool Locked = 13; */
if (message.Locked !== false)
writer.tag(13, WireType.Varint).bool(message.Locked);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);