export interface AssetBranding { /** * Conditions for the OEM app to be shown. */ conditions?: { /** * It is case insensitive so does not matter how you write the brand. * brand: "trackunit" and brand: "Trackunit" will be the same. * * Brand used/filled out then the asset needs to match the filled out property. * * @deprecated Use oem.name instead. */ brand?: string; /** * Indicates if the asset is licensed by OEM */ oemLicensedOnly?: boolean; }; /** * Path to an image in the assets folder of the app. * The image will be shown as brand logo. * The image will be shown as fleet list logo of an OEM asset. * Example: typing "MyImage.png" here, will show the file "apps/my-app/assets/MyImage.png" */ logoPath?: string; /** * Path to an image in the assets folder of the app. * The image will be shown as banner of an OEM asset. * Example: typing "MyImage.png" here, will show the file "apps/my-app/assets/MyImage.png" */ assetBannerPath?: string; /** * Color will be applied to banner and also will used as brand theme color. * It will be a hex code. e.g.: '#FF0000'. */ color?: string; /** * Path to an image in the assets folder of the app. * The image will be shown in the Events and Insights tab in Asset home. * Example: typing "MyImage.png" here, will show the file "apps/my-app/assets/MyImage.png" */ platformLogoPath?: string; } export interface EngineBranding { /** * Path to an image in the assets folder of the app. * The image will be shown as brand logo. * The image will be shown as fleet list logo of an OEM asset. * Example: typing "MyImage.png" here, will show the file "apps/my-app/assets/MyImage.png" */ logoPath: string; /** * Additional properties are not allowed in EngineBranding. */ conditions?: never; assetBannerPath?: never; platformLogoPath?: never; color?: never; oemLicensedOnly?: never; }