The inbox area has 6 methods on the client. Each takes one object of path, query and body arguments and an optional CallOptions, and returns a promise of the response body. A refused call rejects with OverlaneApiError (see the SDK index).
inboxList
Your notification inbox, newest first, with the unread count
- Request:
GETon/v1/me/inbox
inboxList(args?: { query?: { limit?: string; cursor?: string; unread?: string } }, options?: CallOptions): Promise<InboxListResponse>inboxPreferencesGet
How you are told about each kind of event: in the app, by email or not at all
- Request:
GETon/v1/me/notification-preferences
inboxPreferencesGet(args?: Record<string, never>, options?: CallOptions): Promise<NotificationPreferences>inboxPreferencesPut
Set how you are told about the kinds of event you name
- Request:
PUTon/v1/me/notification-preferences
inboxPreferencesPut(args?: { body?: Record<string, unknown> }, options?: CallOptions): Promise<NotificationPreferences>inboxRead
Mark one inbox item read
- Request:
POSTon/v1/me/inbox/{inboxId}/read
inboxRead(args: { inboxId: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<InboxItem>inboxReadAll
Mark every item in your inbox read
- Request:
POSTon/v1/me/inbox/read-all
inboxReadAll(args?: { body?: Record<string, unknown> }, options?: CallOptions): Promise<InboxReadAllResponse>inboxSnooze
Hide one inbox item until a time you give
- Request:
POSTon/v1/me/inbox/{inboxId}/snooze
inboxSnooze(args: { inboxId: string; body: InboxSnoozeRequest }, options?: CallOptions): Promise<InboxItem>