export type StickerRaw = {
    tag?: string
    name: string
    title?: string
    description?: string
    price?: number
    is_used?: boolean
    display?: number
    image_urls?: string[]
    image_thumbnail?: string
    image_thumbnail_web?: string
    image_url_web?: string
    lottie_url?: string
    category?: string
    start_date?: string
    end_date?: string
}

export type StickerCategoryRaw = {
    id: number
    name: string
    title?: string
    is_used?: boolean
    stickers: StickerRaw[]
}

export type StickerCatalogRaw = {
    version?: string
    updated?: string
    categories: StickerCategoryRaw[]
}

export type StickerItem = {
    name: string
    tag: string
    price: number
    thumb: string
    image: string
    images: string[]
    lottieUrl: string | null
    category: string
}

export type GiftTabGroup = {
    kind: string
    title: string
    stickers: StickerItem[]
}

export type StickerCatalog = {
    tabs: GiftTabGroup[]
    stickerByName: Map<string, StickerItem>
}
