Skip to Content

The PimToken type of the TypeScript SDK, which calendars.listFeedTokens and addressbooks.listFeedTokens take or answer.

type PimToken = {
  accessCount: number
  collectionId: string
  createdAt: number
  expiresAt: number | null
  id: string
  kind: ('calendar' | 'addressbook')
  label: string | null
  lastAccessedAt: number | null
}

Fields

FieldTypeDescription
accessCountnumberNumber of times this feed token has been accessed
collectionIdstringTarget collection ULID
createdAtnumberCreation timestamp in epoch seconds
expiresAtnumber | nullExpiration timestamp in epoch seconds, or null for no expiry
idstringToken identifier
kind('calendar' | 'addressbook')Collection type ('calendar' or 'addressbook')
labelstring | nullUser label for this feed token, or null
lastAccessedAtnumber | nullTimestamp of most recent access in epoch seconds, or null

Used by

MethodWhat it does
calendars.listFeedTokensList calendar feed tokens
addressbooks.listFeedTokensList addressbook feed tokens

Used in

PimTokenCreated.