# DomainUsageDay

The DomainUsageDay type of the TypeScript SDK, part of DomainUsage.

```ts
type DomainUsageDay = {
  day: string
  estimated: boolean
  mailBytes: number | null
  mailboxes: number
  pimBytes: number | null
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `day` | `string` | UTC date string (YYYY-MM-DD) |
| `estimated` | `boolean` | True if metrics were estimated or carried forward |
| `mailBytes` | `number` \| `null` | Mail storage bytes for mailboxes on this domain, or null |
| `mailboxes` | `number` | Count of mailboxes on this domain |
| `pimBytes` | `number` \| `null` | Calendar and contacts storage bytes for this domain, or null |

## Used in

[`DomainUsage`](/docs/sdks/typescript/types/domain-usage).
