/* 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.
 */


/**
 * Valid alert trigger types. Matches the legacy alert_types enum.
 * @export
 */
export const AlertType = {
    LiquidityRemove: 'liquidity_remove',
    Mint: 'mint',
    Blacklist: 'blacklist',
    Honeypot: 'honeypot',
    RugPull: 'rug_pull',
    WhaleMovement: 'whale_movement',
    DeployerSell: 'deployer_sell'
} as const;
export type AlertType = typeof AlertType[keyof typeof AlertType];


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

export function AlertTypeFromJSON(json: any): AlertType {
    return AlertTypeFromJSONTyped(json, false);
}

export function AlertTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): AlertType {
    return json as AlertType;
}

export function AlertTypeToJSON(value?: AlertType | null): any {
    return value as any;
}

export function AlertTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): AlertType {
    return value as AlertType;
}

