> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# MaihueStreetMachinePresenceMember

> The schema definition for the MaihueStreetMachinePresenceMember resource.

## Primary key

[Navigate to header](#param-commercial-activity)

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the maihue street machine presence member.

## Specific attributes

[Navigate to header](#param-commercial-activity)

connected

boolean

default:"false"

public

required

Whether the member is connected to the machine's presence channel now.

[Navigate to header](#param-commercial-activity)

connected\_at

timestamp

public

Time of the member's last `member_added`.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

device

varchar

public

Machine device for machine members (`raspberry`, `touch`, `brand_experience`, `advertising`).

**Rules**: Max length: 32 characters

[Navigate to header](#param-commercial-activity)

disconnected\_at

timestamp

public

Time of the member's last `member_removed` or `channel_vacated`.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

kind

varchar

public

required

Kind of member: `machine`, `staff` or `customer`.

**Rules**: Max length: 16 characters

[Navigate to header](#param-commercial-activity)

last\_event\_at

timestamp

public

required

Time of the newest event applied; older events never change the row.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

last\_seen\_at

timestamp

public

required

Last time the member joined or left the channel.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

member\_id

varchar

public

required

Pusher `user_id` assigned by the signer (`machine:{id}:{device}`, `staff:{id}`, `account:{id}`, `alias:{id}`, or the former `customer:{id}`).

**Rules**: Max length: 160 characters

## Foreign keys

[Navigate to header](#param-commercial-activity)

account

uuid

public

Optional reference to the Account that holds the member: the account of an `account:{id}` member, or the person account of a staff or former customer login. Never set together with `maihue_street_user_alias`, nor on a machine device. [Ref: Account Schema](https://docs.bbrands.io/schemas/account/account.md)

[Navigate to header](#param-commercial-activity)

machine

uuid

public

required

Reference to the Maihue Street Machine this maihue street machine presence member belongs to. [Ref: Maihue Street Machine Schema](https://docs.bbrands.io/schemas/maihue-street/maihue-street-machine.md)

[Navigate to header](#param-commercial-activity)

maihue\_street\_user\_alias

uuid

public

Optional reference to the alias that holds an `alias:{id}` member; set exactly on those members. [Ref: Maihue Street User Alias Schema](https://docs.bbrands.io/schemas/maihue-street/maihue-street-user-alias.md)

[Navigate to header](#param-commercial-activity)

user

uuid

public

Optional reference to the Users associated with the maihue street machine presence member.

## Tracking attributes

[Navigate to header](#param-commercial-activity)

created\_at

timestamp

public

required

Timestamp when the record was created.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

deleted\_at

timestamp

public

Timestamp when the record was soft-deleted, when applicable.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

is\_actived

boolean

default:"true"

public

required

Indicates whether the record is currently active.

[Navigate to header](#param-commercial-activity)

is\_deleted

boolean

default:"false"

public

required

Indicates whether the record has been soft-deleted.

[Navigate to header](#param-commercial-activity)

updated\_at

timestamp

public

Timestamp when the record was last updated.

**Rules**: Precision: 6, with timezone


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.