import type * as Whop from "../index.mjs"; export interface UserNotificationPreference { /** When the preference was created, as an ISO 8601 timestamp. */ created_at: string; /** Notification preference ID, prefixed `unpf_`. */ id: string; /** What the user is notified about in this scope: `all` or `nothing`. */ level: UserNotificationPreference.Level; /** The type of object. Always `notification_preference`. */ object: UserNotificationPreference.Object_; /** What the preference applies to. Echo it back to `PATCH /users/me/preferences/notifications` to change this preference. */ scope: Whop.NotificationPreferenceScope; /** When the preference was last changed, as an ISO 8601 timestamp. */ updated_at: string; } export declare namespace UserNotificationPreference { /** What the user is notified about in this scope: `all` or `nothing`. */ const Level: { readonly All: "all"; readonly Nothing: "nothing"; }; type Level = (typeof Level)[keyof typeof Level]; /** The type of object. Always `notification_preference`. */ const Object_: { readonly NotificationPreference: "notification_preference"; }; type Object_ = (typeof Object_)[keyof typeof Object_]; }