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

# NotificationEvent

> The schema definition for the NotificationEvent resource.

## Primary key

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

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the notification event.

## Specific attributes

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

audience

varchar

public

required

The audience of the notification event.

**Rules**: Possible values: account-logins, account-owner, address, login, segment. Max length: 20 characters

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

brand

varchar

public

required

The brand of the notification event.

**Rules**: Possible values: bbrands, maihue, maihue-lunch, maihuego. Max length: 20 characters

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

bypass

jsonb

public

required

The bypass of the notification event.

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

category

varchar

public

required

The category of the notification event.

**Rules**: Possible values: marketing, payment, security, system, transactional. Max length: 20 characters

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

change\_reason

varchar

public

The change reason of the notification event.

**Rules**: Max length: 500 characters

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

description

text

public

The description of the notification event.

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

domain

varchar

public

required

The domain of the notification event.

**Rules**: Possible values: account, application, auth, club, contract, export, maihue, maihue-lunch, maihue-street, marketing, payment, referral, short-link, signature, subscription. Max length: 30 characters

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

flows

jsonb

public

required

The flows of the notification event.

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

internal

varchar

public

required

The internal of the notification event.

**Rules**: Max length: 120 characters

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

is\_deprecated

boolean

default:"false"

public

required

Indicates whether the notification event is deprecated.

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

kind

varchar

public

required

The kind of the notification event.

**Rules**: Possible values: broadcast, flow. Max length: 20 characters

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

name

varchar

public

required

The name of the notification event.

**Rules**: Max length: 255 characters

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

opt\_out\_able

boolean

default:"false"

public

required

Indicates whether opt out able applies to the notification event.

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

overridden\_at

timestamp

public

Timestamp when the notification event was overridden.

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

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

payload\_schema

jsonb

public

required

The payload schema of the notification event.

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

payload\_schema\_version

varchar

public

The payload schema version of the notification event.

**Rules**: Max length: 64 characters

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

platforms

PgArray

public

required

The platforms of the notification event.

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

producers

PgArray

public

required

The producers of the notification event.

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

sensitive\_fields

PgArray

public

required

The sensitive fields of the notification event.

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

subject\_type

varchar

public

The subject type of the notification event.

**Rules**: Max length: 80 characters

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

ttl

PgInterval

public

The ttl of the notification event.

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