# Type Alias: JourneyContextValue

> **JourneyContextValue** = `object`

Defined in: [embeds/Journey.tsx:16](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/embeds/Journey.tsx#L16)

## Properties

### customer?

> `optional` **customer?**: [`CustomerInfo`](https://plandalf.com/docs/packages/react/interfaces/CustomerInfo)

Defined in: [embeds/Journey.tsx:20](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/embeds/Journey.tsx#L20)

***

### emit

> **emit**: \<`K`\>(`eventName`, ...`args`) => `void`

Defined in: [embeds/Journey.tsx:23](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/embeds/Journey.tsx#L23)

#### Type Parameters

##### K

`K` *extends* keyof [`EmbedEventCallbacks`](https://plandalf.com/docs/packages/react/interfaces/EmbedEventCallbacks)

#### Parameters

##### eventName

`K`

##### args

...`Parameters`\<`NonNullable`\<[`EmbedEventCallbacks`](https://plandalf.com/docs/packages/react/interfaces/EmbedEventCallbacks)\[`K`\]\>\>

#### Returns

`void`

***

### id

> **id**: `string`

Defined in: [embeds/Journey.tsx:17](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/embeds/Journey.tsx#L17)

***

### lastCheckoutId?

> `optional` **lastCheckoutId?**: `string`

Defined in: [embeds/Journey.tsx:21](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/embeds/Journey.tsx#L21)

***

### options

> **options**: [`JourneyOptions`](https://plandalf.com/docs/packages/react/type-aliases/JourneyOptions)

Defined in: [embeds/Journey.tsx:19](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/embeds/Journey.tsx#L19)

***

### registerEmbedEvents

> **registerEmbedEvents**: (`key`, `callbacks`) => () => `void`

Defined in: [embeds/Journey.tsx:22](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/embeds/Journey.tsx#L22)

#### Parameters

##### key

`string`

##### callbacks

`Partial`\<[`EmbedEventCallbacks`](https://plandalf.com/docs/packages/react/interfaces/EmbedEventCallbacks)\>

#### Returns

() => `void`

***

### type

> **type**: [`JourneyType`](https://plandalf.com/docs/packages/react/referenced-types/JourneyType)

Defined in: [embeds/Journey.tsx:18](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/embeds/Journey.tsx#L18)

Source: https://plandalf.com/docs/packages/react/type-aliases/JourneyContextValue
