export type SoundcloudImageFormats = "t500x500" | "crop" | "t300x300" | "large" | "t67x67" | "badge" | "small" | "tiny" | "mini"

export interface SoundcloudApp {
    id: number
    kind: "app"
    name: string
    uri: string
    permalink_url: string
    external_url: string
    creator: string
}

export interface SoundcloudAppV2 {
    collection: SoundcloudApp[]
}

export interface SoundcloudOembedFilter {
    url: string
    format?: string
    callback?: string
    maxwidth?: string
    maxheight?: string
    color?: string
    auto_play?: boolean
    show_comments?: boolean
    iframe?: boolean
}

export interface SoundcloudOembed {
    version: string
    type: string
    provider_name: string
    provider_url: string
    height: number
    width: string
    title: string
    description: string
    html: string
    thumbnail_url?: string
    author_name?: string
    author_url?: string
}

export interface SoundcloudSearchV2 {
    total_results: number
    next_href: string
    query_urn: string
}

export interface SoundcloudFilterV2 {
    q: string
    limit?: number
    offset?: number
}