.client

Type: Client

.complete(channelId:

string

,

itemId:

string

)

Type: Promise<void>

Marks a list item as complete.

.create(channelId:

string

,

options:RESTPostListItemBody)

Type: Promise<ListItemPayload>

Creates a new list item.

.delete(channelId:

string

,

itemId:

string

)

Type: Promise<void>

Deletes a list item.

.fetch(channelId:

string

,

itemId:

string

)

Type: Promise<ListItemPayload>

Fetches a single list item.

.fetchMany(channelId:

string

)

Type: Promise<unknown>

Fetches multiple list items.

.uncomplete(channelId:

string

,

itemId:

string

)

Type: Promise<void>

Marks a completed list item as incomplete.

.update(channelId:

string

,

itemId:

string

,

options:RESTPutListItemBody)

Type: Promise<ListItemPayload>

Updates a list item.