# Interface: SuccessfulScan

[Mobile Document Scanner API Reference](../index.md) / SuccessfulScan

# Interface: SuccessfulScan

Defined in: [src/results.ts:211](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/results.ts#L211)

The result of a session that finished.

## Properties

### output?

> `readonly` `optional` **output?**: [`ScanOutput`](../type-aliases/ScanOutput.md)

Defined in: [src/results.ts:220](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/results.ts#L220)

The whole document, encoded as [ScannerSettings.output](ScannerSettings.md#output) asks. It is absent
without that setting.

***

### pages

> `readonly` **pages**: [`ScannedPages`](../type-aliases/ScannedPages.md)

Defined in: [src/results.ts:215](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/results.ts#L215)

The pages of the document, in order.

***

### status

> `readonly` **status**: `"success"`

Defined in: [src/results.ts:213](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/results.ts#L213)

Always `"success"`.
