import { l } from "@atproto/lex-schema"; import * as ActorDefs from "../actor/defs.defs.js"; import * as FeedDefs from "../feed/defs.defs.js"; import * as GraphDefs from "../graph/defs.defs.js"; declare const $nsid = "app.bsky.notification.getGroupedNotifications"; type $nsid = typeof $nsid; export { $nsid }; export declare const $params: l.ParamsSchema<{ readonly feed: l.OptionalSchema>>; readonly limit: l.OptionalSchema>; readonly cursor: l.OptionalSchema>; }>; export type $Params = l.InferOutput; export declare const $output: l.Payload<"application/json", l.ObjectSchema<{ cursor: l.OptionalSchema>; groups: l.ArraySchema>>; seenAt: l.OptionalSchema>; relatedViews: l.OptionalSchema>, l.TypedRefSchema>, l.TypedRefSchema>, l.TypedRefSchema>, l.TypedRefSchema>, l.TypedRefSchema>], false>>>; }>>; export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** [UNSTABLE - DO NOT USE THIS ENDPOINT WHILE THIS NOTE IS HERE] Enumerate notifications for the requesting account, pre-grouped for rendering. Supersedes listNotifications. Requires auth. */ declare const main: l.Query<"app.bsky.notification.getGroupedNotifications", l.ParamsSchema<{ readonly feed: l.OptionalSchema>>; readonly limit: l.OptionalSchema>; readonly cursor: l.OptionalSchema>; }>, l.Payload<"application/json", l.ObjectSchema<{ cursor: l.OptionalSchema>; groups: l.ArraySchema>>; seenAt: l.OptionalSchema>; relatedViews: l.OptionalSchema>, l.TypedRefSchema>, l.TypedRefSchema>, l.TypedRefSchema>, l.TypedRefSchema>, l.TypedRefSchema>], false>>>; }>>, undefined>; export { main }; declare const $lxm = "app.bsky.notification.getGroupedNotifications"; type $lxm = typeof $lxm; export { $lxm }; /** Contains common metadata and kind-specific data for a notification group or individual notification. */ type Group = { $type?: "app.bsky.notification.getGroupedNotifications#group"; "id": string; "isRead": boolean; "indexedAt": l.DatetimeString; "count": number; "kind": l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.Unknown$TypedObject; }; export type { Group }; /** Contains common metadata and kind-specific data for a notification group or individual notification. */ declare const group: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#group", l.Validator>; export { group }; /** Group of likes by different actors on the same post. */ type LikeGroup = { $type?: "app.bsky.notification.getGroupedNotifications#likeGroup"; "post": l.AtUriString; "items": (LikeItem)[]; }; export type { LikeGroup }; /** Group of likes by different actors on the same post. */ declare const likeGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#likeGroup", l.Validator>; export { likeGroup }; /** One actor who liked the group's post. */ type LikeItem = { $type?: "app.bsky.notification.getGroupedNotifications#likeItem"; "actor": l.DidString; }; export type { LikeItem }; /** One actor who liked the group's post. */ declare const likeItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#likeItem", l.Validator>; export { likeItem }; /** Group of likes by the same actor on different posts. */ type MultiPostLikeGroup = { $type?: "app.bsky.notification.getGroupedNotifications#multiPostLikeGroup"; "actor": l.DidString; "items": (MultiPostLikeItem)[]; }; export type { MultiPostLikeGroup }; /** Group of likes by the same actor on different posts. */ declare const multiPostLikeGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#multiPostLikeGroup", l.Validator>; export { multiPostLikeGroup }; /** One post which was liked by the group's actor. */ type MultiPostLikeItem = { $type?: "app.bsky.notification.getGroupedNotifications#multiPostLikeItem"; "post": l.AtUriString; }; export type { MultiPostLikeItem }; /** One post which was liked by the group's actor. */ declare const multiPostLikeItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#multiPostLikeItem", l.Validator>; export { multiPostLikeItem }; /** Group of reposts by the same actor of different posts. */ type MultiPostRepostGroup = { $type?: "app.bsky.notification.getGroupedNotifications#multiPostRepostGroup"; "actor": l.DidString; "items": (MultiPostRepostItem)[]; }; export type { MultiPostRepostGroup }; /** Group of reposts by the same actor of different posts. */ declare const multiPostRepostGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#multiPostRepostGroup", l.Validator>; export { multiPostRepostGroup }; /** One post which was reposted by the group's actor. */ type MultiPostRepostItem = { $type?: "app.bsky.notification.getGroupedNotifications#multiPostRepostItem"; "post": l.AtUriString; }; export type { MultiPostRepostItem }; /** One post which was reposted by the group's actor. */ declare const multiPostRepostItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#multiPostRepostItem", l.Validator>; export { multiPostRepostItem }; /** Group of likes by the same actor on different posts via the requesting account's reposts. */ type MultiPostLikeViaRepostGroup = { $type?: "app.bsky.notification.getGroupedNotifications#multiPostLikeViaRepostGroup"; "actor": l.DidString; "items": (MultiPostLikeViaRepostItem)[]; }; export type { MultiPostLikeViaRepostGroup }; /** Group of likes by the same actor on different posts via the requesting account's reposts. */ declare const multiPostLikeViaRepostGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#multiPostLikeViaRepostGroup", l.Validator>; export { multiPostLikeViaRepostGroup }; /** One post which was liked by the group's actor via the requesting account's repost. */ type MultiPostLikeViaRepostItem = { $type?: "app.bsky.notification.getGroupedNotifications#multiPostLikeViaRepostItem"; "post": l.AtUriString; "viaRepost": l.AtUriString; }; export type { MultiPostLikeViaRepostItem }; /** One post which was liked by the group's actor via the requesting account's repost. */ declare const multiPostLikeViaRepostItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#multiPostLikeViaRepostItem", l.Validator>; export { multiPostLikeViaRepostItem }; /** Group of reposts by the same actor of different posts via the requesting account's reposts. */ type MultiPostRepostViaRepostGroup = { $type?: "app.bsky.notification.getGroupedNotifications#multiPostRepostViaRepostGroup"; "actor": l.DidString; "items": (MultiPostRepostViaRepostItem)[]; }; export type { MultiPostRepostViaRepostGroup }; /** Group of reposts by the same actor of different posts via the requesting account's reposts. */ declare const multiPostRepostViaRepostGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#multiPostRepostViaRepostGroup", l.Validator>; export { multiPostRepostViaRepostGroup }; /** One post which was reposted by the group's actor via the requesting account's repost. */ type MultiPostRepostViaRepostItem = { $type?: "app.bsky.notification.getGroupedNotifications#multiPostRepostViaRepostItem"; "post": l.AtUriString; "viaRepost": l.AtUriString; }; export type { MultiPostRepostViaRepostItem }; /** One post which was reposted by the group's actor via the requesting account's repost. */ declare const multiPostRepostViaRepostItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#multiPostRepostViaRepostItem", l.Validator>; export { multiPostRepostViaRepostItem }; /** Group of reposts by different actors of the same post. */ type RepostGroup = { $type?: "app.bsky.notification.getGroupedNotifications#repostGroup"; "post": l.AtUriString; "items": (RepostItem)[]; }; export type { RepostGroup }; /** Group of reposts by different actors of the same post. */ declare const repostGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#repostGroup", l.Validator>; export { repostGroup }; /** One actor who reposted the group's post. */ type RepostItem = { $type?: "app.bsky.notification.getGroupedNotifications#repostItem"; "actor": l.DidString; }; export type { RepostItem }; /** One actor who reposted the group's post. */ declare const repostItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#repostItem", l.Validator>; export { repostItem }; /** Group of likes by different actors on the same post via the requesting account's repost. */ type LikeViaRepostGroup = { $type?: "app.bsky.notification.getGroupedNotifications#likeViaRepostGroup"; "post": l.AtUriString; "viaRepost": l.AtUriString; "items": (LikeViaRepostItem)[]; }; export type { LikeViaRepostGroup }; /** Group of likes by different actors on the same post via the requesting account's repost. */ declare const likeViaRepostGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#likeViaRepostGroup", l.Validator>; export { likeViaRepostGroup }; /** One actor who liked the group's post via the requesting account's repost. */ type LikeViaRepostItem = { $type?: "app.bsky.notification.getGroupedNotifications#likeViaRepostItem"; "actor": l.DidString; }; export type { LikeViaRepostItem }; /** One actor who liked the group's post via the requesting account's repost. */ declare const likeViaRepostItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#likeViaRepostItem", l.Validator>; export { likeViaRepostItem }; /** Group of reposts by different actors of the same post via the requesting account's repost. */ type RepostViaRepostGroup = { $type?: "app.bsky.notification.getGroupedNotifications#repostViaRepostGroup"; "post": l.AtUriString; "viaRepost": l.AtUriString; "items": (RepostViaRepostItem)[]; }; export type { RepostViaRepostGroup }; /** Group of reposts by different actors of the same post via the requesting account's repost. */ declare const repostViaRepostGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#repostViaRepostGroup", l.Validator>; export { repostViaRepostGroup }; /** One actor who reposted the group's post via the requesting account's repost. */ type RepostViaRepostItem = { $type?: "app.bsky.notification.getGroupedNotifications#repostViaRepostItem"; "actor": l.DidString; }; export type { RepostViaRepostItem }; /** One actor who reposted the group's post via the requesting account's repost. */ declare const repostViaRepostItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#repostViaRepostItem", l.Validator>; export { repostViaRepostItem }; /** Group of actors who followed the requesting account. */ type FollowGroup = { $type?: "app.bsky.notification.getGroupedNotifications#followGroup"; "items": (FollowItem)[]; }; export type { FollowGroup }; /** Group of actors who followed the requesting account. */ declare const followGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#followGroup", l.Validator>; export { followGroup }; /** An actor who followed the requesting account, possibly via a starter pack. */ type FollowItem = { $type?: "app.bsky.notification.getGroupedNotifications#followItem"; "actor": l.DidString; "starterPack"?: l.AtUriString; }; export type { FollowItem }; /** An actor who followed the requesting account, possibly via a starter pack. */ declare const followItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#followItem", l.Validator>; export { followItem }; /** Group of new posts by actors the requesting account subscribes to. */ type SubscribedPostGroup = { $type?: "app.bsky.notification.getGroupedNotifications#subscribedPostGroup"; "items": (SubscribedPostItem)[]; }; export type { SubscribedPostGroup }; /** Group of new posts by actors the requesting account subscribes to. */ declare const subscribedPostGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#subscribedPostGroup", l.Validator>; export { subscribedPostGroup }; /** One new post by an actor the requesting account subscribes to. */ type SubscribedPostItem = { $type?: "app.bsky.notification.getGroupedNotifications#subscribedPostItem"; "actor": l.DidString; "post": l.AtUriString; /** * The post this one replies to, if it is a reply. */ "parent"?: l.AtUriString; }; export type { SubscribedPostItem }; /** One new post by an actor the requesting account subscribes to. */ declare const subscribedPostItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#subscribedPostItem", l.Validator>; export { subscribedPostItem }; /** Group of likes by different actors on the same feed generator. */ type GeneratorLikeGroup = { $type?: "app.bsky.notification.getGroupedNotifications#generatorLikeGroup"; "generator": l.AtUriString; "items": (GeneratorLikeItem)[]; }; export type { GeneratorLikeGroup }; /** Group of likes by different actors on the same feed generator. */ declare const generatorLikeGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#generatorLikeGroup", l.Validator>; export { generatorLikeGroup }; /** One actor who liked the feed generator in the group. */ type GeneratorLikeItem = { $type?: "app.bsky.notification.getGroupedNotifications#generatorLikeItem"; "actor": l.DidString; }; export type { GeneratorLikeItem }; /** One actor who liked the feed generator in the group. */ declare const generatorLikeItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#generatorLikeItem", l.Validator>; export { generatorLikeItem }; /** A reply to a post by the requesting account or to a thread they are participating in. */ type ReplyNotification = { $type?: "app.bsky.notification.getGroupedNotifications#replyNotification"; "post": l.AtUriString; "parent": l.AtUriString; }; export type { ReplyNotification }; /** A reply to a post by the requesting account or to a thread they are participating in. */ declare const replyNotification: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#replyNotification", l.Validator>; export { replyNotification }; /** A post quoting a post by the requesting account. */ type QuoteNotification = { $type?: "app.bsky.notification.getGroupedNotifications#quoteNotification"; "post": l.AtUriString; "parent"?: l.AtUriString; }; export type { QuoteNotification }; /** A post quoting a post by the requesting account. */ declare const quoteNotification: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#quoteNotification", l.Validator>; export { quoteNotification }; /** A post mentioning the requesting account. */ type MentionNotification = { $type?: "app.bsky.notification.getGroupedNotifications#mentionNotification"; "post": l.AtUriString; "parent"?: l.AtUriString; }; export type { MentionNotification }; /** A post mentioning the requesting account. */ declare const mentionNotification: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#mentionNotification", l.Validator>; export { mentionNotification }; /** An actor followed the requesting account back, possibly via a starter pack. */ type FollowBackNotification = { $type?: "app.bsky.notification.getGroupedNotifications#followBackNotification"; "actor": l.DidString; "starterPack"?: l.AtUriString; }; export type { FollowBackNotification }; /** An actor followed the requesting account back, possibly via a starter pack. */ declare const followBackNotification: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#followBackNotification", l.Validator>; export { followBackNotification }; /** An actor verified the requesting account. */ type VerifiedNotification = { $type?: "app.bsky.notification.getGroupedNotifications#verifiedNotification"; "actor": l.DidString; }; export type { VerifiedNotification }; /** An actor verified the requesting account. */ declare const verifiedNotification: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#verifiedNotification", l.Validator>; export { verifiedNotification }; /** A verification of the requesting account was removed. */ type UnverifiedNotification = { $type?: "app.bsky.notification.getGroupedNotifications#unverifiedNotification"; "actor": l.DidString; }; export type { UnverifiedNotification }; /** A verification of the requesting account was removed. */ declare const unverifiedNotification: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#unverifiedNotification", l.Validator>; export { unverifiedNotification }; /** An actor joined Bluesky via a starter pack created by the requesting account. */ type StarterPackJoinedNotification = { $type?: "app.bsky.notification.getGroupedNotifications#starterPackJoinedNotification"; "actor": l.DidString; "starterPack": l.AtUriString; }; export type { StarterPackJoinedNotification }; /** An actor joined Bluesky via a starter pack created by the requesting account. */ declare const starterPackJoinedNotification: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#starterPackJoinedNotification", l.Validator>; export { starterPackJoinedNotification }; /** A contact of the requesting account joined Bluesky. */ type ContactMatchNotification = { $type?: "app.bsky.notification.getGroupedNotifications#contactMatchNotification"; "actor": l.DidString; }; export type { ContactMatchNotification }; /** A contact of the requesting account joined Bluesky. */ declare const contactMatchNotification: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#contactMatchNotification", l.Validator>; export { contactMatchNotification }; //# sourceMappingURL=getGroupedNotifications.defs.d.ts.map