export { brandAssetKinds, brandAssetThemes, getBrandAssetFieldNames, hasBusinessBrandAsset, resolveBusinessBrandAsset, } from "@beenvoice/domain/brand-assets"; export type { BrandAssetKind, BrandAssetTheme, BusinessBrandAssets, } from "@beenvoice/domain/brand-assets"; import type { BrandAssetKind, BrandAssetTheme, } from "@beenvoice/domain/brand-assets"; export function businessBrandAssetPath( businessId: string, kind: BrandAssetKind = "logo", theme: BrandAssetTheme = "light", format?: "png", ): string { const params = new URLSearchParams({ kind, theme }); if (format) params.set("format", format); return `/api/business-logo/${businessId}?${params.toString()}`; }