# PimCollectionRestored

The PimCollectionRestored type of the TypeScript SDK, which calendars.restore and addressbooks.restore take or answer.

```ts
type PimCollectionRestored = {
  collection: PimCollection
  objectsRestored: number
  reinvitesDropped: number
  reinvitesScheduled: number
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `collection` | [`PimCollection`](/docs/sdks/typescript/types/pim-collection) |  |
| `objectsRestored` | `number` | Members that came back with it |
| `reinvitesDropped` | `number` | Schedulable members past the per-restore bound: restored, but no REQUEST is sent for them |
| `reinvitesScheduled` | `number` | Restored meetings offered to the scheduler; those this mailbox does not organize are skipped there, SEQUENCE untouched |

## Used by

| Method | What it does |
| --- | --- |
| [`calendars.restore`](/docs/sdks/typescript/calendars/restore) | Restore deleted calendar |
| [`addressbooks.restore`](/docs/sdks/typescript/addressbooks/restore) | Restore deleted addressbook |
