Latest generation

This commit is contained in:
ci core model
2025-11-10 10:23:20 +00:00
parent 78cd2bd615
commit 846350853f
12 changed files with 153 additions and 12 deletions

View File

@@ -119,6 +119,10 @@ export interface AppointmentByFilterResult {
* @generated from protobuf message api.AppointmentQueryOptions
*/
export interface AppointmentQueryOptions {
/**
* @generated from protobuf field: repeated string Only = 1
*/
Only: string[];
}
/**
* @generated from protobuf message api.AppointmentByMatchQuery
@@ -494,10 +498,13 @@ export const AppointmentByFilterResult = new AppointmentByFilterResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class AppointmentQueryOptions$Type extends MessageType<AppointmentQueryOptions> {
constructor() {
super("api.AppointmentQueryOptions", []);
super("api.AppointmentQueryOptions", [
{ no: 1, name: "Only", kind: "scalar", localName: "Only", jsonName: "Only", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : List of fields to include in the response for each returned Appointment", example: "\"[\"ID.RefID\", \"Payload.Name\", \"Payload.Lines.ID\"]\"" } } }
]);
}
create(value?: PartialMessage<AppointmentQueryOptions>): AppointmentQueryOptions {
const message = globalThis.Object.create((this.messagePrototype!));
message.Only = [];
if (value !== undefined)
reflectionMergePartial<AppointmentQueryOptions>(this, message, value);
return message;
@@ -507,6 +514,9 @@ class AppointmentQueryOptions$Type extends MessageType<AppointmentQueryOptions>
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated string Only */ 1:
message.Only.push(reader.string());
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -519,6 +529,9 @@ class AppointmentQueryOptions$Type extends MessageType<AppointmentQueryOptions>
return message;
}
internalBinaryWrite(message: AppointmentQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated string Only = 1; */
for (let i = 0; i < message.Only.length; i++)
writer.tag(1, WireType.LengthDelimited).string(message.Only[i]);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);