Latest generation

This commit is contained in:
ci core model
2025-04-28 12:35:42 +00:00
parent 595d5e3e36
commit 09d656c554
197 changed files with 25094 additions and 25094 deletions

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.9.6
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
// @generated from protobuf file "admin-actor.proto" (package "api", syntax proto3)
// tslint:disable
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
@@ -20,60 +20,60 @@ export interface AdminActor {
/**
* @generated from protobuf field: string ID = 1 [json_name = "ID"];
*/
iD: string;
ID: string;
/**
* @generated from protobuf field: string Name = 2 [json_name = "Name"];
*/
name: string;
Name: string;
/**
* @generated from protobuf field: string OrganisationID = 3 [json_name = "OrganisationID"];
*/
organisationID: string;
OrganisationID: string;
/**
* @generated from protobuf field: string PartnerID = 4 [json_name = "PartnerID"];
*/
partnerID: string;
PartnerID: string;
// string AdditionalInformations = 5;
/**
* @generated from protobuf field: api.Address Address = 6 [json_name = "Address"];
*/
address?: Address;
Address?: Address;
/**
* @generated from protobuf field: api.ActorContact Contact = 7 [json_name = "Contact"];
*/
contact?: ActorContact;
Contact?: ActorContact;
/**
* @generated from protobuf field: api.ActorTypology Typology = 8 [json_name = "Typology"];
*/
typology: ActorTypology;
Typology: ActorTypology;
/**
* @generated from protobuf field: string AdditionalInformation = 9 [json_name = "AdditionalInformation"];
*/
additionalInformation: string;
AdditionalInformation: string;
}
// @generated message type with reflection information, may provide speed optimized methods
class AdminActor$Type extends MessageType<AdminActor> {
constructor() {
super("api.AdminActor", [
{ no: 1, name: "ID", kind: "scalar", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Name", kind: "scalar", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "OrganisationID", kind: "scalar", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "PartnerID", kind: "scalar", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "Address", kind: "message", jsonName: "Address", T: () => Address, options: { "validate.rules": { message: { required: true } } } },
{ no: 7, name: "Contact", kind: "message", jsonName: "Contact", T: () => ActorContact, options: { "validate.rules": { message: { required: true } } } },
{ no: 8, name: "Typology", kind: "enum", jsonName: "Typology", T: () => ["api.ActorTypology", ActorTypology] },
{ no: 9, name: "AdditionalInformation", kind: "scalar", jsonName: "AdditionalInformation", T: 9 /*ScalarType.STRING*/ }
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address, options: { "validate.rules": { message: { required: true } } } },
{ no: 7, name: "Contact", kind: "message", localName: "Contact", jsonName: "Contact", T: () => ActorContact, options: { "validate.rules": { message: { required: true } } } },
{ no: 8, name: "Typology", kind: "enum", localName: "Typology", jsonName: "Typology", T: () => ["api.ActorTypology", ActorTypology] },
{ no: 9, name: "AdditionalInformation", kind: "scalar", localName: "AdditionalInformation", jsonName: "AdditionalInformation", T: 9 /*ScalarType.STRING*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ID", "Name", "OrganisationID"] } } });
}
create(value?: PartialMessage<AdminActor>): AdminActor {
const message = globalThis.Object.create((this.messagePrototype!));
message.iD = "";
message.name = "";
message.organisationID = "";
message.partnerID = "";
message.typology = 0;
message.additionalInformation = "";
message.ID = "";
message.Name = "";
message.OrganisationID = "";
message.PartnerID = "";
message.Typology = 0;
message.AdditionalInformation = "";
if (value !== undefined)
reflectionMergePartial<AdminActor>(this, message, value);
return message;
@@ -84,28 +84,28 @@ class AdminActor$Type extends MessageType<AdminActor> {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ID = 1 [json_name = "ID"];*/ 1:
message.iD = reader.string();
message.ID = reader.string();
break;
case /* string Name = 2 [json_name = "Name"];*/ 2:
message.name = reader.string();
message.Name = reader.string();
break;
case /* string OrganisationID = 3 [json_name = "OrganisationID"];*/ 3:
message.organisationID = reader.string();
message.OrganisationID = reader.string();
break;
case /* string PartnerID = 4 [json_name = "PartnerID"];*/ 4:
message.partnerID = reader.string();
message.PartnerID = reader.string();
break;
case /* api.Address Address = 6 [json_name = "Address"];*/ 6:
message.address = Address.internalBinaryRead(reader, reader.uint32(), options, message.address);
message.Address = Address.internalBinaryRead(reader, reader.uint32(), options, message.Address);
break;
case /* api.ActorContact Contact = 7 [json_name = "Contact"];*/ 7:
message.contact = ActorContact.internalBinaryRead(reader, reader.uint32(), options, message.contact);
message.Contact = ActorContact.internalBinaryRead(reader, reader.uint32(), options, message.Contact);
break;
case /* api.ActorTypology Typology = 8 [json_name = "Typology"];*/ 8:
message.typology = reader.int32();
message.Typology = reader.int32();
break;
case /* string AdditionalInformation = 9 [json_name = "AdditionalInformation"];*/ 9:
message.additionalInformation = reader.string();
message.AdditionalInformation = reader.string();
break;
default:
let u = options.readUnknownField;
@@ -120,29 +120,29 @@ class AdminActor$Type extends MessageType<AdminActor> {
}
internalBinaryWrite(message: AdminActor, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ID = 1 [json_name = "ID"]; */
if (message.iD !== "")
writer.tag(1, WireType.LengthDelimited).string(message.iD);
if (message.ID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ID);
/* string Name = 2 [json_name = "Name"]; */
if (message.name !== "")
writer.tag(2, WireType.LengthDelimited).string(message.name);
if (message.Name !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Name);
/* string OrganisationID = 3 [json_name = "OrganisationID"]; */
if (message.organisationID !== "")
writer.tag(3, WireType.LengthDelimited).string(message.organisationID);
if (message.OrganisationID !== "")
writer.tag(3, WireType.LengthDelimited).string(message.OrganisationID);
/* string PartnerID = 4 [json_name = "PartnerID"]; */
if (message.partnerID !== "")
writer.tag(4, WireType.LengthDelimited).string(message.partnerID);
if (message.PartnerID !== "")
writer.tag(4, WireType.LengthDelimited).string(message.PartnerID);
/* api.Address Address = 6 [json_name = "Address"]; */
if (message.address)
Address.internalBinaryWrite(message.address, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
if (message.Address)
Address.internalBinaryWrite(message.Address, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
/* api.ActorContact Contact = 7 [json_name = "Contact"]; */
if (message.contact)
ActorContact.internalBinaryWrite(message.contact, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
if (message.Contact)
ActorContact.internalBinaryWrite(message.Contact, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
/* api.ActorTypology Typology = 8 [json_name = "Typology"]; */
if (message.typology !== 0)
writer.tag(8, WireType.Varint).int32(message.typology);
if (message.Typology !== 0)
writer.tag(8, WireType.Varint).int32(message.Typology);
/* string AdditionalInformation = 9 [json_name = "AdditionalInformation"]; */
if (message.additionalInformation !== "")
writer.tag(9, WireType.LengthDelimited).string(message.additionalInformation);
if (message.AdditionalInformation !== "")
writer.tag(9, WireType.LengthDelimited).string(message.AdditionalInformation);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);