Latest generation

This commit is contained in:
ci core model
2025-05-26 12:14:28 +00:00
parent 65247e7fe4
commit cc9c6d0b4c
197 changed files with 15132 additions and 15052 deletions

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "handlingunitQuery.proto" (package "api", syntax proto3)
// tslint:disable
import { CountLinesResult } from "./shared";
@@ -34,11 +34,11 @@ import { QueryProjectHeader } from "./shared";
*/
export interface HandlingunitByIdQuery {
/**
* @generated from protobuf field: api.QueryProjectHeader Header = 1 [json_name = "Header"];
* @generated from protobuf field: api.QueryProjectHeader Header = 1
*/
Header?: QueryProjectHeader;
/**
* @generated from protobuf field: repeated api.EntityID IDs = 2 [json_name = "IDs"];
* @generated from protobuf field: repeated api.EntityID IDs = 2
*/
IDs: EntityID[];
}
@@ -47,11 +47,11 @@ export interface HandlingunitByIdQuery {
*/
export interface HandlingunitByIdResult {
/**
* @generated from protobuf field: api.ResultHeader Header = 1 [json_name = "Header"];
* @generated from protobuf field: api.ResultHeader Header = 1
*/
Header?: ResultHeader;
/**
* @generated from protobuf field: repeated api.Handlingunit Objects = 2 [json_name = "Objects"];
* @generated from protobuf field: repeated api.Handlingunit Objects = 2
*/
Objects: Handlingunit[];
}
@@ -60,21 +60,21 @@ export interface HandlingunitByIdResult {
*/
export interface HandlingunitByFilterQuery {
/**
* @generated from protobuf field: api.QueryProjectHeader Header = 1 [json_name = "Header"];
* @generated from protobuf field: api.QueryProjectHeader Header = 1
*/
Header?: QueryProjectHeader;
/**
* @generated from protobuf field: string limitFilter = 4;
* @generated from protobuf field: string limitFilter = 4
*/
limitFilter: string;
/**
* @generated from protobuf field: string queryContext = 5;
* @generated from protobuf field: string queryContext = 5
*/
queryContext: string;
/**
* list of blockFilters structure for Find query, each element (BlockFilter) in the list is an "OR" part of the query, if not empty, simpleFilters (deprecated) & rangeFilters (deprecated) will be ignored
*
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 7 [json_name = "BlockFilters"];
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 7
*/
BlockFilters: BlockFilter[];
}
@@ -83,15 +83,15 @@ export interface HandlingunitByFilterQuery {
*/
export interface HandlingunitByFilterResult {
/**
* @generated from protobuf field: api.ResultHeader Header = 1 [json_name = "Header"];
* @generated from protobuf field: api.ResultHeader Header = 1
*/
Header?: ResultHeader;
/**
* @generated from protobuf field: repeated api.Handlingunit Objects = 2 [json_name = "Objects"];
* @generated from protobuf field: repeated api.Handlingunit Objects = 2
*/
Objects: Handlingunit[];
/**
* @generated from protobuf field: string queryContext = 3;
* @generated from protobuf field: string queryContext = 3
*/
queryContext: string;
}
@@ -100,19 +100,19 @@ export interface HandlingunitByFilterResult {
*/
export interface HandlingunitByMatchQuery {
/**
* @generated from protobuf field: api.QueryProjectHeader Header = 1 [json_name = "Header"];
* @generated from protobuf field: api.QueryProjectHeader Header = 1
*/
Header?: QueryProjectHeader;
/**
* list of blockFilters structure for Find query, each element (BlockFilter) in the list is an "OR" part of the query, if not empty, simpleFilters (deprecated) & rangeFilters (deprecated) will be ignored
*
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 5 [json_name = "BlockFilters"];
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 5
*/
BlockFilters: BlockFilter[];
/**
* MatchField list structure, for FindMatching query
*
* @generated from protobuf field: repeated api.MatchField MatchFields = 6 [json_name = "MatchFields"];
* @generated from protobuf field: repeated api.MatchField MatchFields = 6
*/
MatchFields: MatchField[];
}
@@ -121,7 +121,7 @@ export interface HandlingunitByMatchQuery {
*/
export interface HandlingunitByMatchResult {
/**
* @generated from protobuf field: repeated api.MatchFieldResult MatchResults = 2 [json_name = "MatchResults"];
* @generated from protobuf field: repeated api.MatchFieldResult MatchResults = 2
*/
MatchResults: MatchFieldResult[];
}
@@ -145,10 +145,10 @@ class HandlingunitByIdQuery$Type extends MessageType<HandlingunitByIdQuery> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.QueryProjectHeader Header = 1 [json_name = "Header"];*/ 1:
case /* api.QueryProjectHeader Header */ 1:
message.Header = QueryProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* repeated api.EntityID IDs = 2 [json_name = "IDs"];*/ 2:
case /* repeated api.EntityID IDs */ 2:
message.IDs.push(EntityID.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
@@ -163,10 +163,10 @@ class HandlingunitByIdQuery$Type extends MessageType<HandlingunitByIdQuery> {
return message;
}
internalBinaryWrite(message: HandlingunitByIdQuery, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.QueryProjectHeader Header = 1 [json_name = "Header"]; */
/* api.QueryProjectHeader Header = 1; */
if (message.Header)
QueryProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* repeated api.EntityID IDs = 2 [json_name = "IDs"]; */
/* repeated api.EntityID IDs = 2; */
for (let i = 0; i < message.IDs.length; i++)
EntityID.internalBinaryWrite(message.IDs[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -199,10 +199,10 @@ class HandlingunitByIdResult$Type extends MessageType<HandlingunitByIdResult> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.ResultHeader Header = 1 [json_name = "Header"];*/ 1:
case /* api.ResultHeader Header */ 1:
message.Header = ResultHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* repeated api.Handlingunit Objects = 2 [json_name = "Objects"];*/ 2:
case /* repeated api.Handlingunit Objects */ 2:
message.Objects.push(Handlingunit.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
@@ -217,10 +217,10 @@ class HandlingunitByIdResult$Type extends MessageType<HandlingunitByIdResult> {
return message;
}
internalBinaryWrite(message: HandlingunitByIdResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.ResultHeader Header = 1 [json_name = "Header"]; */
/* api.ResultHeader Header = 1; */
if (message.Header)
ResultHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* repeated api.Handlingunit Objects = 2 [json_name = "Objects"]; */
/* repeated api.Handlingunit Objects = 2; */
for (let i = 0; i < message.Objects.length; i++)
Handlingunit.internalBinaryWrite(message.Objects[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -257,7 +257,7 @@ class HandlingunitByFilterQuery$Type extends MessageType<HandlingunitByFilterQue
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.QueryProjectHeader Header = 1 [json_name = "Header"];*/ 1:
case /* api.QueryProjectHeader Header */ 1:
message.Header = QueryProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* string limitFilter */ 4:
@@ -266,7 +266,7 @@ class HandlingunitByFilterQuery$Type extends MessageType<HandlingunitByFilterQue
case /* string queryContext */ 5:
message.queryContext = reader.string();
break;
case /* repeated api.BlockFilter BlockFilters = 7 [json_name = "BlockFilters"];*/ 7:
case /* repeated api.BlockFilter BlockFilters */ 7:
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
@@ -281,7 +281,7 @@ class HandlingunitByFilterQuery$Type extends MessageType<HandlingunitByFilterQue
return message;
}
internalBinaryWrite(message: HandlingunitByFilterQuery, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.QueryProjectHeader Header = 1 [json_name = "Header"]; */
/* api.QueryProjectHeader Header = 1; */
if (message.Header)
QueryProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string limitFilter = 4; */
@@ -290,7 +290,7 @@ class HandlingunitByFilterQuery$Type extends MessageType<HandlingunitByFilterQue
/* string queryContext = 5; */
if (message.queryContext !== "")
writer.tag(5, WireType.LengthDelimited).string(message.queryContext);
/* repeated api.BlockFilter BlockFilters = 7 [json_name = "BlockFilters"]; */
/* repeated api.BlockFilter BlockFilters = 7; */
for (let i = 0; i < message.BlockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -325,10 +325,10 @@ class HandlingunitByFilterResult$Type extends MessageType<HandlingunitByFilterRe
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.ResultHeader Header = 1 [json_name = "Header"];*/ 1:
case /* api.ResultHeader Header */ 1:
message.Header = ResultHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* repeated api.Handlingunit Objects = 2 [json_name = "Objects"];*/ 2:
case /* repeated api.Handlingunit Objects */ 2:
message.Objects.push(Handlingunit.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* string queryContext */ 3:
@@ -346,10 +346,10 @@ class HandlingunitByFilterResult$Type extends MessageType<HandlingunitByFilterRe
return message;
}
internalBinaryWrite(message: HandlingunitByFilterResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.ResultHeader Header = 1 [json_name = "Header"]; */
/* api.ResultHeader Header = 1; */
if (message.Header)
ResultHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* repeated api.Handlingunit Objects = 2 [json_name = "Objects"]; */
/* repeated api.Handlingunit Objects = 2; */
for (let i = 0; i < message.Objects.length; i++)
Handlingunit.internalBinaryWrite(message.Objects[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* string queryContext = 3; */
@@ -387,13 +387,13 @@ class HandlingunitByMatchQuery$Type extends MessageType<HandlingunitByMatchQuery
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.QueryProjectHeader Header = 1 [json_name = "Header"];*/ 1:
case /* api.QueryProjectHeader Header */ 1:
message.Header = QueryProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* repeated api.BlockFilter BlockFilters = 5 [json_name = "BlockFilters"];*/ 5:
case /* repeated api.BlockFilter BlockFilters */ 5:
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* repeated api.MatchField MatchFields = 6 [json_name = "MatchFields"];*/ 6:
case /* repeated api.MatchField MatchFields */ 6:
message.MatchFields.push(MatchField.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
@@ -408,13 +408,13 @@ class HandlingunitByMatchQuery$Type extends MessageType<HandlingunitByMatchQuery
return message;
}
internalBinaryWrite(message: HandlingunitByMatchQuery, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.QueryProjectHeader Header = 1 [json_name = "Header"]; */
/* api.QueryProjectHeader Header = 1; */
if (message.Header)
QueryProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* repeated api.BlockFilter BlockFilters = 5 [json_name = "BlockFilters"]; */
/* repeated api.BlockFilter BlockFilters = 5; */
for (let i = 0; i < message.BlockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
/* repeated api.MatchField MatchFields = 6 [json_name = "MatchFields"]; */
/* repeated api.MatchField MatchFields = 6; */
for (let i = 0; i < message.MatchFields.length; i++)
MatchField.internalBinaryWrite(message.MatchFields[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -446,7 +446,7 @@ class HandlingunitByMatchResult$Type extends MessageType<HandlingunitByMatchResu
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated api.MatchFieldResult MatchResults = 2 [json_name = "MatchResults"];*/ 2:
case /* repeated api.MatchFieldResult MatchResults */ 2:
message.MatchResults.push(MatchFieldResult.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
@@ -461,7 +461,7 @@ class HandlingunitByMatchResult$Type extends MessageType<HandlingunitByMatchResu
return message;
}
internalBinaryWrite(message: HandlingunitByMatchResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated api.MatchFieldResult MatchResults = 2 [json_name = "MatchResults"]; */
/* repeated api.MatchFieldResult MatchResults = 2; */
for (let i = 0; i < message.MatchResults.length; i++)
MatchFieldResult.internalBinaryWrite(message.MatchResults[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;