Latest generation

This commit is contained in:
ci core model
2025-08-19 08:32:31 +00:00
parent b5f4e58159
commit d7e4bc1594
88 changed files with 1012 additions and 1012 deletions

View File

@@ -160,7 +160,7 @@ export enum NotificationCategory {
class Notification$Type extends MessageType<Notification> {
constructor() {
super("api.Notification", [
{ no: 1, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload of the notification" }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 1, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload of the notification" } } },
{ no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.NotificationType", NotificationType], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload type of the notification" } } },
{ no: 3, name: "TemplateName", kind: "scalar", localName: "TemplateName", jsonName: "TemplateName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the ECard related to the notification payload" } } },
{ no: 4, name: "AckID", kind: "scalar", localName: "AckID", jsonName: "AckID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID to acknowledge notification to notification-server, filled by the server" } } },
@@ -247,7 +247,7 @@ export const Notification = new Notification$Type();
class NotificationRequest$Type extends MessageType<NotificationRequest> {
constructor() {
super("api.NotificationRequest", [
{ no: 1, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload of the notification" }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 1, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload of the notification" } } },
{ no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.NotificationType", NotificationType], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload type of the notification" } } },
{ no: 3, name: "TemplateName", kind: "scalar", localName: "TemplateName", jsonName: "TemplateName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the ECard related to the notification payload" } } },
{ no: 4, name: "Category", kind: "enum", localName: "Category", jsonName: "Category", T: () => ["api.NotificationCategory", NotificationCategory], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Category of the notification" } } }
@@ -318,8 +318,8 @@ export const NotificationRequest = new NotificationRequest$Type();
class PublishToUserRequest$Type extends MessageType<PublishToUserRequest> {
constructor() {
super("api.PublishToUserRequest", [
{ no: 1, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Id of user who will receive the notification" }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "ExpirationDate", kind: "scalar", localName: "ExpirationDate", jsonName: "ExpirationDate", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Timestamp of notification expiration. If zero, platform default expiration date is used" }, "validate.rules": { int64: { gte: "0" } } } },
{ no: 1, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Id of user who will receive the notification" } } },
{ no: 2, name: "ExpirationDate", kind: "scalar", localName: "ExpirationDate", jsonName: "ExpirationDate", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "validate.rules": { int64: { gte: "0" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Timestamp of notification expiration. If zero, platform default expiration date is used" } } },
{ no: 3, name: "Notification", kind: "message", localName: "Notification", jsonName: "Notification", T: () => NotificationRequest }
]);
}
@@ -418,7 +418,7 @@ export const PublishToUserResult = new PublishToUserResult$Type();
class NotificationListItem$Type extends MessageType<NotificationListItem> {
constructor() {
super("api.NotificationListItem", [
{ no: 1, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload of the notification" }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 1, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload of the notification" } } },
{ no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.NotificationType", NotificationType], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload type of the notification" } } },
{ no: 3, name: "TemplateName", kind: "scalar", localName: "TemplateName", jsonName: "TemplateName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the ECard related to the notification payload" } } },
{ no: 4, name: "Category", kind: "enum", localName: "Category", jsonName: "Category", T: () => ["api.NotificationCategory", NotificationCategory], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Category of the notification" } } },
@@ -582,6 +582,6 @@ export const ListNotificationResult = new ListNotificationResult$Type();
* @generated ServiceType for protobuf service api.NotificationService
*/
export const NotificationService = new ServiceType("api.NotificationService", [
{ name: "PublishToUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Notification"], description: "Send notification to user" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Notification" }, I: PublishToUserRequest, O: PublishToUserResult },
{ name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Notification"], description: "List all notifications of connected user" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: ListNotificationRequest, O: ListNotificationResult }
{ name: "PublishToUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Notification"], description: "Send notification to user" }, "api.rscType": "Platform", "api.roles": "Platform.Notification", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: PublishToUserRequest, O: PublishToUserResult },
{ name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Notification"], description: "List all notifications of connected user" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListNotificationRequest, O: ListNotificationResult }
], { "api.k8sService": "notification-server", "api.roleManager": true, "api.resourceManager": true });