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 "appointmentQuery.proto" (package "api", syntax proto3)
// tslint:disable
import { CountLinesResult } from "./shared";
@@ -34,11 +34,11 @@ import { QuerySiteHeader } from "./shared";
*/
export interface AppointmentByIdQuery {
/**
* @generated from protobuf field: api.QuerySiteHeader Header = 1 [json_name = "Header"];
* @generated from protobuf field: api.QuerySiteHeader Header = 1
*/
Header?: QuerySiteHeader;
/**
* @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 AppointmentByIdQuery {
*/
export interface AppointmentByIdResult {
/**
* @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.Appointment Objects = 2 [json_name = "Objects"];
* @generated from protobuf field: repeated api.Appointment Objects = 2
*/
Objects: Appointment[];
}
@@ -60,23 +60,23 @@ export interface AppointmentByIdResult {
*/
export interface AppointmentByFilterQuery {
/**
* @generated from protobuf field: api.QuerySiteHeader Header = 1 [json_name = "Header"];
* @generated from protobuf field: api.QuerySiteHeader Header = 1
*/
Header?: QuerySiteHeader;
/**
* Number of maximum result
*
* @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 = 6 [json_name = "BlockFilters"];
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 6
*/
BlockFilters: BlockFilter[];
}
@@ -85,15 +85,15 @@ export interface AppointmentByFilterQuery {
*/
export interface AppointmentByFilterResult {
/**
* @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.Appointment Objects = 2 [json_name = "Objects"];
* @generated from protobuf field: repeated api.Appointment Objects = 2
*/
Objects: Appointment[];
/**
* @generated from protobuf field: string queryContext = 3;
* @generated from protobuf field: string queryContext = 3
*/
queryContext: string;
}
@@ -102,19 +102,19 @@ export interface AppointmentByFilterResult {
*/
export interface AppointmentByMatchQuery {
/**
* @generated from protobuf field: api.QuerySiteHeader Header = 1 [json_name = "Header"];
* @generated from protobuf field: api.QuerySiteHeader Header = 1
*/
Header?: QuerySiteHeader;
/**
* 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[];
}
@@ -123,7 +123,7 @@ export interface AppointmentByMatchQuery {
*/
export interface AppointmentByMatchResult {
/**
* @generated from protobuf field: repeated api.MatchFieldResult MatchResults = 2 [json_name = "MatchResults"];
* @generated from protobuf field: repeated api.MatchFieldResult MatchResults = 2
*/
MatchResults: MatchFieldResult[];
}
@@ -147,10 +147,10 @@ class AppointmentByIdQuery$Type extends MessageType<AppointmentByIdQuery> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.QuerySiteHeader Header = 1 [json_name = "Header"];*/ 1:
case /* api.QuerySiteHeader Header */ 1:
message.Header = QuerySiteHeader.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:
@@ -165,10 +165,10 @@ class AppointmentByIdQuery$Type extends MessageType<AppointmentByIdQuery> {
return message;
}
internalBinaryWrite(message: AppointmentByIdQuery, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.QuerySiteHeader Header = 1 [json_name = "Header"]; */
/* api.QuerySiteHeader Header = 1; */
if (message.Header)
QuerySiteHeader.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;
@@ -201,10 +201,10 @@ class AppointmentByIdResult$Type extends MessageType<AppointmentByIdResult> {
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.Appointment Objects = 2 [json_name = "Objects"];*/ 2:
case /* repeated api.Appointment Objects */ 2:
message.Objects.push(Appointment.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
@@ -219,10 +219,10 @@ class AppointmentByIdResult$Type extends MessageType<AppointmentByIdResult> {
return message;
}
internalBinaryWrite(message: AppointmentByIdResult, 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.Appointment Objects = 2 [json_name = "Objects"]; */
/* repeated api.Appointment Objects = 2; */
for (let i = 0; i < message.Objects.length; i++)
Appointment.internalBinaryWrite(message.Objects[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -259,7 +259,7 @@ class AppointmentByFilterQuery$Type extends MessageType<AppointmentByFilterQuery
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.QuerySiteHeader Header = 1 [json_name = "Header"];*/ 1:
case /* api.QuerySiteHeader Header */ 1:
message.Header = QuerySiteHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* string limitFilter */ 4:
@@ -268,7 +268,7 @@ class AppointmentByFilterQuery$Type extends MessageType<AppointmentByFilterQuery
case /* string queryContext */ 5:
message.queryContext = reader.string();
break;
case /* repeated api.BlockFilter BlockFilters = 6 [json_name = "BlockFilters"];*/ 6:
case /* repeated api.BlockFilter BlockFilters */ 6:
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
@@ -283,7 +283,7 @@ class AppointmentByFilterQuery$Type extends MessageType<AppointmentByFilterQuery
return message;
}
internalBinaryWrite(message: AppointmentByFilterQuery, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.QuerySiteHeader Header = 1 [json_name = "Header"]; */
/* api.QuerySiteHeader Header = 1; */
if (message.Header)
QuerySiteHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string limitFilter = 4; */
@@ -292,7 +292,7 @@ class AppointmentByFilterQuery$Type extends MessageType<AppointmentByFilterQuery
/* string queryContext = 5; */
if (message.queryContext !== "")
writer.tag(5, WireType.LengthDelimited).string(message.queryContext);
/* repeated api.BlockFilter BlockFilters = 6 [json_name = "BlockFilters"]; */
/* repeated api.BlockFilter BlockFilters = 6; */
for (let i = 0; i < message.BlockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -327,10 +327,10 @@ class AppointmentByFilterResult$Type extends MessageType<AppointmentByFilterResu
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.Appointment Objects = 2 [json_name = "Objects"];*/ 2:
case /* repeated api.Appointment Objects */ 2:
message.Objects.push(Appointment.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* string queryContext */ 3:
@@ -348,10 +348,10 @@ class AppointmentByFilterResult$Type extends MessageType<AppointmentByFilterResu
return message;
}
internalBinaryWrite(message: AppointmentByFilterResult, 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.Appointment Objects = 2 [json_name = "Objects"]; */
/* repeated api.Appointment Objects = 2; */
for (let i = 0; i < message.Objects.length; i++)
Appointment.internalBinaryWrite(message.Objects[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* string queryContext = 3; */
@@ -389,13 +389,13 @@ class AppointmentByMatchQuery$Type extends MessageType<AppointmentByMatchQuery>
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.QuerySiteHeader Header = 1 [json_name = "Header"];*/ 1:
case /* api.QuerySiteHeader Header */ 1:
message.Header = QuerySiteHeader.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:
@@ -410,13 +410,13 @@ class AppointmentByMatchQuery$Type extends MessageType<AppointmentByMatchQuery>
return message;
}
internalBinaryWrite(message: AppointmentByMatchQuery, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.QuerySiteHeader Header = 1 [json_name = "Header"]; */
/* api.QuerySiteHeader Header = 1; */
if (message.Header)
QuerySiteHeader.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;
@@ -448,7 +448,7 @@ class AppointmentByMatchResult$Type extends MessageType<AppointmentByMatchResult
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:
@@ -463,7 +463,7 @@ class AppointmentByMatchResult$Type extends MessageType<AppointmentByMatchResult
return message;
}
internalBinaryWrite(message: AppointmentByMatchResult, 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;