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

@@ -116,6 +116,10 @@ export interface HandlingunitByFilterResult {
* @generated from protobuf message api.HandlingunitQueryOptions
*/
export interface HandlingunitQueryOptions {
/**
* @generated from protobuf field: repeated string Only = 1
*/
Only: string[];
}
/**
* @generated from protobuf message api.HandlingunitByMatchQuery
@@ -428,10 +432,13 @@ export const HandlingunitByFilterResult = new HandlingunitByFilterResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class HandlingunitQueryOptions$Type extends MessageType<HandlingunitQueryOptions> {
constructor() {
super("api.HandlingunitQueryOptions", []);
super("api.HandlingunitQueryOptions", [
{ 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 Handlingunit", example: "\"[\"ID.RefID\", \"Payload.Name\", \"Payload.Lines.ID\"]\"" } } }
]);
}
create(value?: PartialMessage<HandlingunitQueryOptions>): HandlingunitQueryOptions {
const message = globalThis.Object.create((this.messagePrototype!));
message.Only = [];
if (value !== undefined)
reflectionMergePartial<HandlingunitQueryOptions>(this, message, value);
return message;
@@ -441,6 +448,9 @@ class HandlingunitQueryOptions$Type extends MessageType<HandlingunitQueryOptions
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")
@@ -453,6 +463,9 @@ class HandlingunitQueryOptions$Type extends MessageType<HandlingunitQueryOptions
return message;
}
internalBinaryWrite(message: HandlingunitQueryOptions, 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);