.cache
Type: Collection
.client
Type: Client
.shouldCacheCalendar
.shouldCacheCalendarRsvps
.create(channelId:string
,
options:RESTPostCalendarEventBody)
Type: Promise<CalendarEvent>
Create 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>
Delete an rsvp for a calendar event
.fetch(channelId:string
,
calendarEventId:number
,
force:boolean
)
Type: Promise<CalendarEvent>
Get a single calendar event.
.fetchMany(channelId:string
,
options:RESTGetCalendarEventsBody)
Type: Promise<Collection>
Get 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 caldenar event
.update(channelId:string
,
calendarEventId:number
,
options:RESTPatchCalendarEventBody)
Type: Promise<CalendarEvent>
Update a calendar event.
.updateRsvp(channelId:string
,
calendarEventId:number
,
userId:string
,
options:RESTPatchCalendarEventRsvpBody)
Type: Promise<CalendarEventRsvp>
Create or update an rsvp for a calendar event