/* tslint:disable */
/* eslint-disable */
/**
 * RMI Backend
 * Rug Munch Intelligence — institutional-grade crypto intelligence API. 13+ chains, 96 data providers, 8 MCP tools, x402 paid tier, sovereign-first FOSS.
 *
 * The version of the OpenAPI document: 2026.06.21
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


/**
 * Scan tier — controls which modules run and which data is returned.
 * @export
 */
export const ScanTier = {
    Free: 'free',
    Pro: 'pro',
    Elite: 'elite',
    Internal: 'internal'
} as const;
export type ScanTier = typeof ScanTier[keyof typeof ScanTier];


export function instanceOfScanTier(value: any): boolean {
    for (const key in ScanTier) {
        if (Object.prototype.hasOwnProperty.call(ScanTier, key)) {
            if (ScanTier[key as keyof typeof ScanTier] === value) {
                return true;
            }
        }
    }
    return false;
}

export function ScanTierFromJSON(json: any): ScanTier {
    return ScanTierFromJSONTyped(json, false);
}

export function ScanTierFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScanTier {
    return json as ScanTier;
}

export function ScanTierToJSON(value?: ScanTier | null): any {
    return value as any;
}

export function ScanTierToJSONTyped(value: any, ignoreDiscriminator: boolean): ScanTier {
    return value as ScanTier;
}

