> ## 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.

# MaihueOnboardingEvent

> The schema definition for the MaihueOnboardingEvent resource.

## Primary key

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

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the maihue onboarding event.

## Specific attributes

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

event\_type

varchar

public

required

The event type of the maihue onboarding event.

**Rules**: Max length: 60 characters

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

occurred\_at

timestamp

public

required

Timestamp when the maihue onboarding event was occurred.

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

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

origin

varchar

public

required

The origin of the maihue onboarding event.

**Rules**: Possible values: api\_key, cron, system, user. Max length: 20 characters

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

payload

jsonb

public

The payload of the maihue onboarding event.

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

provider\_event\_id

varchar

public

The provider event ID of the maihue onboarding event. Set for the invitation email events of a provider webhook (Resend); (maihue\_onboarding, event\_type, provider\_event\_id) is unique, so a replayed webhook writes nothing. Null for lifecycle events.

**Rules**: Max length: 255 characters

## Foreign keys

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

actor\_user

uuid

public

Optional reference to the Users associated with the maihue onboarding event.

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

api\_key

uuid

public

Optional reference to the API Key associated with the maihue onboarding event. [Ref: Api Key Schema](https://docs.bbrands.io/schemas/permission/api-key.md)

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

maihue\_onboarding

uuid

public

required

Reference to the Maihue Onboarding this maihue onboarding event belongs to. [Ref: Maihue Onboarding Schema](https://docs.bbrands.io/schemas/maihue/maihue-onboarding.md)

## 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.