Latest generation

This commit is contained in:
ci core model
2026-02-13 09:24:41 +00:00
parent 33fae4a9d3
commit 8ccd0e2ca8
11 changed files with 2900 additions and 327 deletions

68
site.ts
View File

@@ -20,6 +20,7 @@ import { CustomField } from "./shared";
import { Slot } from "./slotbooking";
import { MetadataElement } from "./shared";
import { ResponseHeader } from "./shared";
import { SlotGroupAndReason } from "./slotbooking";
import { SlotGroup } from "./slotbooking";
import { SegmentationSelection } from "./slotbooking";
import { Commission } from "./slotbooking";
@@ -542,19 +543,6 @@ export interface GetAvailableSlotsResponse {
*/
EstimatedNeededDurationInMinutes: bigint; // Computed needed slot duration in minutes
}
/**
* @generated from protobuf message api.SlotGroupAndReason
*/
export interface SlotGroupAndReason {
/**
* @generated from protobuf field: api.SlotGroup SlotGroup = 1
*/
SlotGroup?: SlotGroup;
/**
* @generated from protobuf field: string Reason = 2
*/
Reason: string;
}
/**
* @generated from protobuf message api.GetAllSlotsResponse
*/
@@ -2727,60 +2715,6 @@ class GetAvailableSlotsResponse$Type extends MessageType<GetAvailableSlotsRespon
*/
export const GetAvailableSlotsResponse = new GetAvailableSlotsResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class SlotGroupAndReason$Type extends MessageType<SlotGroupAndReason> {
constructor() {
super("api.SlotGroupAndReason", [
{ no: 1, name: "SlotGroup", kind: "message", localName: "SlotGroup", jsonName: "SlotGroup", T: () => SlotGroup },
{ no: 2, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<SlotGroupAndReason>): SlotGroupAndReason {
const message = globalThis.Object.create((this.messagePrototype!));
message.Reason = "";
if (value !== undefined)
reflectionMergePartial<SlotGroupAndReason>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SlotGroupAndReason): SlotGroupAndReason {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.SlotGroup SlotGroup */ 1:
message.SlotGroup = SlotGroup.internalBinaryRead(reader, reader.uint32(), options, message.SlotGroup);
break;
case /* string Reason */ 2:
message.Reason = reader.string();
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: SlotGroupAndReason, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.SlotGroup SlotGroup = 1; */
if (message.SlotGroup)
SlotGroup.internalBinaryWrite(message.SlotGroup, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string Reason = 2; */
if (message.Reason !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Reason);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.SlotGroupAndReason
*/
export const SlotGroupAndReason = new SlotGroupAndReason$Type();
// @generated message type with reflection information, may provide speed optimized methods
class GetAllSlotsResponse$Type extends MessageType<GetAllSlotsResponse> {
constructor() {
super("api.GetAllSlotsResponse", [