import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import type { NotificationData, NotificationProvider } from "./providers_pb.js"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file openstatus/notification/v1/notification.proto. */ export declare const file_openstatus_notification_v1_notification: GenFile; /** * Notification represents a notification channel with full details. * * @generated from message openstatus.notification.v1.Notification */ export type Notification = Message<"openstatus.notification.v1.Notification"> & { /** * Unique identifier for the notification. * * @generated from field: string id = 1; */ id: string; /** * Display name for the notification channel. * * @generated from field: string name = 2; */ name: string; /** * Provider type. * * @generated from field: openstatus.notification.v1.NotificationProvider provider = 3; */ provider: NotificationProvider; /** * Provider-specific configuration. * * @generated from field: openstatus.notification.v1.NotificationData data = 4; */ data?: NotificationData; /** * IDs of monitors associated with this notification. * * @generated from field: repeated string monitor_ids = 5; */ monitorIds: string[]; /** * Timestamp when the notification was created (RFC 3339). * * @generated from field: string created_at = 6; */ createdAt: string; /** * Timestamp when the notification was last updated (RFC 3339). * * @generated from field: string updated_at = 7; */ updatedAt: string; }; /** * Describes the message openstatus.notification.v1.Notification. * Use `create(NotificationSchema)` to create a new message. */ export declare const NotificationSchema: GenMessage; /** * NotificationSummary represents a notification channel summary for list responses. * * @generated from message openstatus.notification.v1.NotificationSummary */ export type NotificationSummary = Message<"openstatus.notification.v1.NotificationSummary"> & { /** * Unique identifier for the notification. * * @generated from field: string id = 1; */ id: string; /** * Display name for the notification channel. * * @generated from field: string name = 2; */ name: string; /** * Provider type. * * @generated from field: openstatus.notification.v1.NotificationProvider provider = 3; */ provider: NotificationProvider; /** * Number of monitors associated with this notification. * * @generated from field: int32 monitor_count = 4; */ monitorCount: number; /** * Timestamp when the notification was created (RFC 3339). * * @generated from field: string created_at = 5; */ createdAt: string; /** * Timestamp when the notification was last updated (RFC 3339). * * @generated from field: string updated_at = 6; */ updatedAt: string; }; /** * Describes the message openstatus.notification.v1.NotificationSummary. * Use `create(NotificationSummarySchema)` to create a new message. */ export declare const NotificationSummarySchema: GenMessage; //# sourceMappingURL=notification_pb.d.ts.map