# DomainBranding

The DomainBranding type of the TypeScript SDK, which domains.getBranding and 2 more methods take or answer.

```ts
type DomainBranding = {
  brandName: string | null
  domain: string
  hasLogo: boolean
  logoType: string | null
  logoUpdatedAt: number | null
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `brandName` | `string` \| `null` | Display name shown with the logo; null = default |
| `domain` | `string` | Domain name |
| `hasLogo` | `boolean` | True if a custom logo image has been uploaded |
| `logoType` | `string` \| `null` | Media MIME type of the stored logo, or null |
| `logoUpdatedAt` | `number` \| `null` | Epoch seconds of the last logo write; also acts as cache version |

## Used by

| Method | What it does |
| --- | --- |
| [`domains.getBranding`](/docs/sdks/typescript/domains/get-branding) | Get domain branding |
| [`domains.setBranding`](/docs/sdks/typescript/domains/set-branding) | Update domain brand name |
| [`domains.setLogo`](/docs/sdks/typescript/domains/set-logo) | Upload domain logo |
