# PimRsvpResult

The PimRsvpResult type of the TypeScript SDK, which calendars.respondToInvitation take or answer.

```ts
type PimRsvpResult = {
  calendarId: string
  etag: string
  filed: boolean
  href: string
  myAddress: string
  organizerUpdated: boolean
  partstat: ('ACCEPTED' | 'DECLINED' | 'TENTATIVE' | 'NEEDS-ACTION')
  replySent: boolean
  summary: string | null
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `calendarId` | `string` | Calendar collection ULID holding the event |
| `etag` | `string` | Updated ETag of the calendar object |
| `filed` | `boolean` | True if the event was newly added to the calendar |
| `href` | `string` | DAV resource path of the event |
| `myAddress` | `string` | Recipient email address for which this RSVP was recorded |
| `organizerUpdated` | `boolean` | True if local organizer event copy was updated directly |
| `partstat` | `('ACCEPTED' \| 'DECLINED' \| 'TENTATIVE' \| 'NEEDS-ACTION')` | Recorded participation status (ACCEPTED, DECLINED, TENTATIVE) |
| `replySent` | `boolean` | True if email reply was sent to remote organizer |
| `summary` | `string` \| `null` | Event title/summary, or null |

## Used by

| Method | What it does |
| --- | --- |
| [`calendars.respondToInvitation`](/docs/sdks/typescript/calendars/respond-to-invitation) | Accept or decline emailed invitation |
