Skip to content

Rule.io SDK


Rule.io SDK / client/src / BrandStyle

Interface: BrandStyle

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:134

Full brand style detail as returned by BrandStylesClient.get.

Properties ​

accountId ​

accountId: number

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:137

ID of the account this brand style belongs to.


colours? ​

optional colours?: BrandStyleColour[] | null

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:155


createdAt ​

createdAt: string

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:159


description? ​

optional description?: string | null

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:140


domain? ​

optional domain?: string | null

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:142

Domain the style was auto-detected from, if applicable.


fonts? ​

optional fonts?: BrandStyleFont[] | null

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:157


id ​

id: number

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:135


images? ​

optional images?: BrandStyleImage[] | null

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:158


isDefault ​

isDefault: boolean

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:148

Whether this is the account's default brand style.

The default style is used when no specific style is requested.


isFetchable? ​

optional isFetchable?: boolean | null

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:154

Whether the brand assets can be re-fetched from the domain.

Only relevant for styles created via BrandStylesClient.createFromDomain.


optional links?: BrandStyleLink[] | null

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:156


name ​

name: string

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:139

Human-readable name.


updatedAt ​

updatedAt: string

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:160