# PimObjectRestored

The PimObjectRestored type of the TypeScript SDK, which calendarObjects.restore and addressbookObjects.restore take or answer.

```ts
type PimObjectRestored = {
  etag: string
  href: string
  id: string
  reinvited: boolean
  syncToken: string
  uid: string
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `etag` | `string` | The live row's strong ETag: the stored one, or the re-invite's bumped body |
| `href` | `string` | DAV resource path name, unchanged |
| `id` | `string` | Object ULID, unchanged |
| `reinvited` | `boolean` | True when this mailbox organizes the event and a fresh REQUEST, SEQUENCE advanced by one, was scheduled to its attendees |
| `syncToken` | `string` | Updated collection sync token |
| `uid` | `string` |  |

## Used by

| Method | What it does |
| --- | --- |
| [`calendarObjects.restore`](/docs/sdks/typescript/calendar-objects/restore) | Restore deleted calendar object |
| [`addressbookObjects.restore`](/docs/sdks/typescript/addressbook-objects/restore) | Restore deleted addressbook object |
