Appearance
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?
optionalcolours?: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?
optionaldescription?:string|null
Defined in: client/src/resources/brand-styles/brand-styles.types.ts:140
domain?
optionaldomain?:string|null
Defined in: client/src/resources/brand-styles/brand-styles.types.ts:142
Domain the style was auto-detected from, if applicable.
fonts?
optionalfonts?: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?
optionalimages?: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?
optionalisFetchable?: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.
links?
optionallinks?: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