Latest generation

This commit is contained in:
ci core model
2025-11-21 16:12:06 +00:00
parent cd003b702e
commit f6e32284c5
4 changed files with 40 additions and 4 deletions

View File

@@ -79,6 +79,10 @@ export interface NotifCreatedPayload {
* @generated from protobuf field: bool GroupSending = 10
*/
GroupSending: boolean;
/**
* @generated from protobuf field: bool SendToIssuer = 11
*/
SendToIssuer: boolean;
}
/**
* Event message
@@ -250,7 +254,8 @@ class NotifCreatedPayload$Type extends MessageType<NotifCreatedPayload> {
{ no: 7, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of entity" }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 8, name: "Tags", kind: "scalar", localName: "Tags", jsonName: "Tags", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Tags" } } },
{ no: 9, name: "ContactMails", kind: "scalar", localName: "ContactMails", jsonName: "ContactMails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Mail of the contact to notify" }, "validate.rules": { repeated: { items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } } } },
{ no: 10, name: "GroupSending", kind: "scalar", localName: "GroupSending", jsonName: "GroupSending", T: 8 /*ScalarType.BOOL*/ }
{ no: 10, name: "GroupSending", kind: "scalar", localName: "GroupSending", jsonName: "GroupSending", T: 8 /*ScalarType.BOOL*/ },
{ no: 11, name: "SendToIssuer", kind: "scalar", localName: "SendToIssuer", jsonName: "SendToIssuer", T: 8 /*ScalarType.BOOL*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["NotificationType", "IssuerID", "Contacts", "EntityDomain", "EntityType", "EntityRefID"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created" });
}
create(value?: PartialMessage<NotifCreatedPayload>): NotifCreatedPayload {
@@ -265,6 +270,7 @@ class NotifCreatedPayload$Type extends MessageType<NotifCreatedPayload> {
message.Tags = "";
message.ContactMails = [];
message.GroupSending = false;
message.SendToIssuer = false;
if (value !== undefined)
reflectionMergePartial<NotifCreatedPayload>(this, message, value);
return message;
@@ -304,6 +310,9 @@ class NotifCreatedPayload$Type extends MessageType<NotifCreatedPayload> {
case /* bool GroupSending */ 10:
message.GroupSending = reader.bool();
break;
case /* bool SendToIssuer */ 11:
message.SendToIssuer = reader.bool();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -346,6 +355,9 @@ class NotifCreatedPayload$Type extends MessageType<NotifCreatedPayload> {
/* bool GroupSending = 10; */
if (message.GroupSending !== false)
writer.tag(10, WireType.Varint).bool(message.GroupSending);
/* bool SendToIssuer = 11; */
if (message.SendToIssuer !== false)
writer.tag(11, WireType.Varint).bool(message.SendToIssuer);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);