/** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2025.6.3 * Contact: hello@goauthentik.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Group } from './Group'; import type { SeverityEnum } from './SeverityEnum'; /** * NotificationRule Serializer * @export * @interface NotificationRule */ export interface NotificationRule { /** * * @type {string} * @memberof NotificationRule */ readonly pk: string; /** * * @type {string} * @memberof NotificationRule */ name: string; /** * Select which transports should be used to notify the user. If none are selected, the notification will only be shown in the authentik UI. * @type {Array} * @memberof NotificationRule */ transports?: Array; /** * Controls which severity level the created notifications will have. * @type {SeverityEnum} * @memberof NotificationRule */ severity?: SeverityEnum; /** * Define which group of users this notification should be sent and shown to. If left empty, Notification won't ben sent. * @type {string} * @memberof NotificationRule */ destinationGroup?: string | null; /** * * @type {Group} * @memberof NotificationRule */ readonly destinationGroupObj: Group; /** * When enabled, notification will be sent to user the user that triggered the event.When destination_group is configured, notification is sent to both. * @type {boolean} * @memberof NotificationRule */ destinationEventUser?: boolean; } /** * Check if a given object implements the NotificationRule interface. */ export declare function instanceOfNotificationRule(value: object): value is NotificationRule; export declare function NotificationRuleFromJSON(json: any): NotificationRule; export declare function NotificationRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationRule; export declare function NotificationRuleToJSON(json: any): NotificationRule; export declare function NotificationRuleToJSONTyped(value?: Omit | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=NotificationRule.d.ts.map