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 "admin-partner.proto" (package "api", syntax proto3)
// tslint:disable
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
@@ -17,39 +17,39 @@ import { Address } from "./repositoryShared";
*/
export interface AdminPartner {
/**
* @generated from protobuf field: string ID = 1 [json_name = "ID"];
* @generated from protobuf field: string ID = 1
*/
ID: string;
/**
* @generated from protobuf field: string Name = 2 [json_name = "Name"];
* @generated from protobuf field: string Name = 2
*/
Name: string;
/**
* @generated from protobuf field: string LegalStructure = 3 [json_name = "LegalStructure"];
* @generated from protobuf field: string LegalStructure = 3
*/
LegalStructure: string;
/**
* @generated from protobuf field: api.Address Address = 4 [json_name = "Address"];
* @generated from protobuf field: api.Address Address = 4
*/
Address?: Address;
/**
* @generated from protobuf field: string OrganisationID = 5 [json_name = "OrganisationID"];
* @generated from protobuf field: string OrganisationID = 5
*/
OrganisationID: string;
/**
* In ActorIDs are given / Out not present
*
* @generated from protobuf field: repeated string ActorIDs = 6 [json_name = "ActorIDs"];
* @generated from protobuf field: repeated string ActorIDs = 6
*/
ActorIDs: string[];
/**
* In not accepted / Out Actors are returned
*
* @generated from protobuf field: repeated api.AdminActor Actors = 7 [json_name = "Actors"];
* @generated from protobuf field: repeated api.AdminActor Actors = 7
*/
Actors: AdminActor[];
/**
* @generated from protobuf field: string PhotoURI = 8 [json_name = "PhotoURI"];
* @generated from protobuf field: string PhotoURI = 8
*/
PhotoURI: string;
}
@@ -85,28 +85,28 @@ class AdminPartner$Type extends MessageType<AdminPartner> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ID = 1 [json_name = "ID"];*/ 1:
case /* string ID */ 1:
message.ID = reader.string();
break;
case /* string Name = 2 [json_name = "Name"];*/ 2:
case /* string Name */ 2:
message.Name = reader.string();
break;
case /* string LegalStructure = 3 [json_name = "LegalStructure"];*/ 3:
case /* string LegalStructure */ 3:
message.LegalStructure = reader.string();
break;
case /* api.Address Address = 4 [json_name = "Address"];*/ 4:
case /* api.Address Address */ 4:
message.Address = Address.internalBinaryRead(reader, reader.uint32(), options, message.Address);
break;
case /* string OrganisationID = 5 [json_name = "OrganisationID"];*/ 5:
case /* string OrganisationID */ 5:
message.OrganisationID = reader.string();
break;
case /* repeated string ActorIDs = 6 [json_name = "ActorIDs"];*/ 6:
case /* repeated string ActorIDs */ 6:
message.ActorIDs.push(reader.string());
break;
case /* repeated api.AdminActor Actors = 7 [json_name = "Actors"];*/ 7:
case /* repeated api.AdminActor Actors */ 7:
message.Actors.push(AdminActor.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* string PhotoURI = 8 [json_name = "PhotoURI"];*/ 8:
case /* string PhotoURI */ 8:
message.PhotoURI = reader.string();
break;
default:
@@ -121,28 +121,28 @@ class AdminPartner$Type extends MessageType<AdminPartner> {
return message;
}
internalBinaryWrite(message: AdminPartner, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ID = 1 [json_name = "ID"]; */
/* string ID = 1; */
if (message.ID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ID);
/* string Name = 2 [json_name = "Name"]; */
/* string Name = 2; */
if (message.Name !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Name);
/* string LegalStructure = 3 [json_name = "LegalStructure"]; */
/* string LegalStructure = 3; */
if (message.LegalStructure !== "")
writer.tag(3, WireType.LengthDelimited).string(message.LegalStructure);
/* api.Address Address = 4 [json_name = "Address"]; */
/* api.Address Address = 4; */
if (message.Address)
Address.internalBinaryWrite(message.Address, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* string OrganisationID = 5 [json_name = "OrganisationID"]; */
/* string OrganisationID = 5; */
if (message.OrganisationID !== "")
writer.tag(5, WireType.LengthDelimited).string(message.OrganisationID);
/* repeated string ActorIDs = 6 [json_name = "ActorIDs"]; */
/* repeated string ActorIDs = 6; */
for (let i = 0; i < message.ActorIDs.length; i++)
writer.tag(6, WireType.LengthDelimited).string(message.ActorIDs[i]);
/* repeated api.AdminActor Actors = 7 [json_name = "Actors"]; */
/* repeated api.AdminActor Actors = 7; */
for (let i = 0; i < message.Actors.length; i++)
AdminActor.internalBinaryWrite(message.Actors[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
/* string PhotoURI = 8 [json_name = "PhotoURI"]; */
/* string PhotoURI = 8; */
if (message.PhotoURI !== "")
writer.tag(8, WireType.LengthDelimited).string(message.PhotoURI);
let u = options.writeUnknownFields;