---
title: Enums
canonical: https://developer.unico.io/dual-api/developers/sdks-and-tools/web/web-sdk/api-reference/enums
locale: en
generated_by: markdown-export
---

## SelfieCameraTypes

Defines the camera mode for selfie capture. Passed to `prepareSelfieCamera`.

| Value | Description |
|---|---|
| `SelfieCameraTypes.NORMAL` | Standard camera mode (manual capture) |
| `SelfieCameraTypes.SMART` | Smart camera mode with automatic capture and silhouette guidance |

## DocumentCameraTypes

Defines the type of document to be captured. Passed to `prepareDocumentCamera`.

| Value | Description |
|---|---|
| `DocumentCameraTypes.CPF` | Capture the CPF |
| `DocumentCameraTypes.CNH` | Capture the open CNH |
| `DocumentCameraTypes.CNH_FRENTE` | Capture the front of the CNH |
| `DocumentCameraTypes.CNH_VERSO` | Capture the back of the CNH |
| `DocumentCameraTypes.RG_FRENTE` | Capture the front of the RG |
| `DocumentCameraTypes.RG_VERSO` | Capture the back of the RG |
| `DocumentCameraTypes.RG_FRENTE_NOVO` | Capture the front of the new RG |
| `DocumentCameraTypes.RG_VERSO_NOVO` | Capture the back of the new RG |
| `DocumentCameraTypes.OTHERS("description")` | Generic frame for any other document |

## SDKEnvironmentTypes

Defines the environment used during SDK execution.

| Value | Description |
|---|---|
| `SDKEnvironmentTypes.PROD` | Production environment |
| `SDKEnvironmentTypes.UAT` | Staging environment |

## LocaleTypes

Defines the language used in the SDK UI.

| Value | Description |
|---|---|
| `LocaleTypes.PT_BR` | Portuguese (Brazil) |
| `LocaleTypes.ES_MX` | Spanish (Mexico) |
| `LocaleTypes.ES_ES` | Spanish (Spain) |
| `LocaleTypes.EN_US` | English (USA) |