.cache

Type: Collection

.client

Type: Client

.shouldCacheCalendar

.shouldCacheCalendarRsvps

.create(channelId:

string

,

options:RESTPostCalendarEventBody)

Type: Promise<CalendarEvent>

Creates a calendar event.

.delete(channelId:

string

,

calendarEventId:

number

)

Type: Promise<unknown>

Delete a calendar event.

.deleteRsvp(channelId:

string

,

calendarEventId:

number

,

userId:

string

)

Type: Promise<unknown>

Deletes an RSVP for a calendar event.

.fetch(channelId:

string

,

calendarEventId:

number

,

force:

boolean

)

Type: Promise<CalendarEvent>

Fetches a single calendar event.

.fetchMany(channelId:

string

,

options:RESTGetCalendarEventsBody)

Type: Promise<Collection>

Fetches multiple calendar events.

.fetchManyRsvps(channelId:

string

,

calendarEventId:

number

)

Type: Promise<Collection>

Fetch RSVPs for a calendar event.

.fetchRsvp(channelId:

string

,

calendarEventId:

number

,

userId:

string

,

force:

boolean

)

Type: Promise<CalendarEventRsvp>

Get a single RSVP from a calendar event.

.update(channelId:

string

,

calendarEventId:

number

,

options:RESTPatchCalendarEventBody)

Type: Promise<CalendarEvent>

Updates a calendar event.

.updateManyRsvp(channelId:

string

,

calendarEventId:

number

,

options:RESTPatchCalendarEventRsvpManyBody)

Type: Promise<void>

Creates or updates multiple RSVPs for a calendar event.

.updateRsvp(channelId:

string

,

calendarEventId:

number

,

userId:

string

,

options:RESTPatchCalendarEventRsvpBody)

Type: Promise<CalendarEventRsvp>

Creates or updates an RSVP for a calendar event.