UNPKG

@amityco/ts-sdk

Version:

Amity Social Cloud Typescript SDK

30 lines 951 B
/** * ```js * import { notificationTray } from '@amityco/ts-sdk' * const notificationTraySeen = await notificationTray.getNotificationTraySeen() * ``` * * * @returns A page of {@link Amity.NotificationTraySeen} objects * * @category NotificationTray API * @async * */ export declare const getNotificationTraySeen: { (): Promise<Amity.Cached<Amity.InternalNotificationTraySeen>>; /** * ```js * import { notificationTray } from '@amityco/ts-sdk' * const notificationTraySeen = await notificationTray.getNotificationTraySeen.locally() * ``` * * Queries a paginable list of {@link Amity.NotificationTraySeen} objects from cache * * @returns A page of {@link Amity.NotificationTraySeen} objects * * @category NotificationTray API * @async * */ locally(): Amity.Cached<Amity.InternalNotificationTraySeen> | undefined; }; //# sourceMappingURL=getNotificationTraySeen.d.ts.map