Interface ListEventQueryParams

Interface representing the query parameters for listing events.

Hierarchy

Properties

busy?: boolean

Returns events with a busy status of true.

calendarId: string

Specify calendar ID of the event. "primary" is a supported value indicating the user's primary calendar.

description?: string

Return events matching the specified description. Graph: NOT supported

end?: string

Return events ending before the specified unix timestamp. Defaults to a month from now. Not respected by metadata filtering.

expandRecurring?: boolean

If true, the response will include an event for each occurrence of a recurring event within the requested time range. If false, only a single primary event will be returned for each recurring event. Cannot be used when filtering on metadata. Defaults to false.

limit?: number

The maximum number of objects to return. This field defaults to 50. The maximum allowed value is 200.

location?: string

Return events matching the specified location.

metadataPair?: Record<string, unknown>

Pass in your metadata key and value pair to search for metadata.

orderBy?: string

Order results by the specified field. Currently only start is supported.

pageToken?: string

An identifier that specifies which page of data to return. This value should be taken from the NylasListResponse.nextCursor response field.

showCancelled?: boolean

Return events that have a status of cancelled. If an event is recurring, then it returns no matter the value set. Different providers have different semantics for cancelled events.

start?: string

Return events starting after the specified unix timestamp. Defaults to the current timestamp. Not respected by metadata filtering.

title?: string

Return events matching the specified title.

Generated using TypeDoc