import { SdPlatformNotificationCreator, SdPlatformNotificationLevel, SdPlatformNotificationClass, SdPlatformNotificationType } from "../commons/SdPlatformNotificationCommons"; /** * DTO for creating a notification */ export interface SdPlatformRequestNotificationCreateBase { /** optional description */ description?: string; /** optional id of related model */ model_id?: string; /** optional id of related user */ user_id?: string; /** optional id of related saved state */ saved_state_id?: string; /** optional id of related document */ document_id?: string; /** optional id of related organization */ organization_id?: string; /** optional epoch timestamp until which the notification is valid */ valid_until?: number; /** creator of notification */ creator: SdPlatformNotificationCreator; /** level of notification */ level: SdPlatformNotificationLevel; /** class of notification */ class: SdPlatformNotificationClass; /** type of notification */ type?: SdPlatformNotificationType; /** policy aliases to attach as metadata to notifications of type model-transfer-request */ policies?: Array; /** links to additional data such as sdk documentation. */ href?: string; } export interface SdPlatformRequestNotificationCreate extends SdPlatformRequestNotificationCreateBase { /** id of receiver of notification */ receiver_id: string; } export interface SdPlatformRequestNotificationCreateMultiple extends SdPlatformRequestNotificationCreateBase { /** ids of receivers of notification */ receiver_ids: Array; } /** * DTO for patching a notification */ export interface SdPlatformRequestNotificationPatch { read: boolean; } //# sourceMappingURL=SdPlatformRequestNotification.d.ts.map