# RecoveryCodesIssued

The RecoveryCodesIssued type of the TypeScript SDK, which recovery.createCodes take or answer.

```ts
type RecoveryCodesIssued = {
  codes: string[]
  issuedAt: number
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `codes` | `string[]` | The plaintext codes, shown exactly once. Only their SHA-256 hashes are stored |
| `issuedAt` | `number` | Issue timestamp in epoch seconds |

## Used by

| Method | What it does |
| --- | --- |
| [`recovery.createCodes`](/docs/sdks/typescript/recovery/create-codes) | Issue mailbox recovery codes |
