From f6e32284c5dcff74c979481c64b54260e7ab3ebf Mon Sep 17 00:00:00 2001 From: ci core model Date: Fri, 21 Nov 2025 16:12:06 +0000 Subject: [PATCH] Latest generation --- notif.ts | 14 +++++++++++++- notifAction.ts | 14 +++++++++++++- notifInput.ts | 14 +++++++++++++- package.json | 2 +- 4 files changed, 40 insertions(+), 4 deletions(-) diff --git a/notif.ts b/notif.ts index 99c2473..03ba52b 100644 --- a/notif.ts +++ b/notif.ts @@ -93,6 +93,10 @@ export interface NotifPayload { * @generated from protobuf field: bool GroupSending = 10 */ GroupSending: boolean; + /** + * @generated from protobuf field: bool SendToIssuer = 11 + */ + SendToIssuer: boolean; } /** * @generated from protobuf message api.NotifTriplet @@ -184,7 +188,8 @@ class NotifPayload$Type extends MessageType { { 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" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { 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", "OldStatus", "NewStatus", "EntityDomain", "EntityType", "EntityRefID"] } } }); } create(value?: PartialMessage): NotifPayload { @@ -199,6 +204,7 @@ class NotifPayload$Type extends MessageType { message.Tags = ""; message.ContactMails = []; message.GroupSending = false; + message.SendToIssuer = false; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -238,6 +244,9 @@ class NotifPayload$Type extends MessageType { 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") @@ -280,6 +289,9 @@ class NotifPayload$Type extends MessageType { /* 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); diff --git a/notifAction.ts b/notifAction.ts index ff8fdc8..46b9fe4 100644 --- a/notifAction.ts +++ b/notifAction.ts @@ -64,6 +64,10 @@ export interface NotifNotifyByMailPayload { * @generated from protobuf field: bool GroupSending = 10 */ GroupSending: boolean; + /** + * @generated from protobuf field: bool SendToIssuer = 11 + */ + SendToIssuer: boolean; } /** * @generated from protobuf message api.NotifNotifyByMail @@ -168,7 +172,8 @@ class NotifNotifyByMailPayload$Type extends MessageType): NotifNotifyByMailPayload { @@ -183,6 +188,7 @@ class NotifNotifyByMailPayload$Type extends MessageType(this, message, value); return message; @@ -222,6 +228,9 @@ class NotifNotifyByMailPayload$Type extends MessageType { { 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 { @@ -265,6 +270,7 @@ class NotifCreatedPayload$Type extends MessageType { message.Tags = ""; message.ContactMails = []; message.GroupSending = false; + message.SendToIssuer = false; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -304,6 +310,9 @@ class NotifCreatedPayload$Type extends MessageType { 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 { /* 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); diff --git a/package.json b/package.json index 8d64b59..cfff9bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.12.0-SNAPSHOT-251121144215", + "version": "1.12.0-SNAPSHOT-251121161117", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts",