Skip to content

The platform for continuously improving AI agents.

1.3 KB
Raw Blame
/* tslint:disable */
/* eslint-disable */
/**
 * Overbae API
 * Backend API for the Overclaw / Overmind platform.
 *
 * The version of the OpenAPI document: 2.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


/**
 * * `train` - Train
 * * `eval` - Eval
 * * `pending` - Pending
 * @export
 */
export const IntentEnum = {
    train: 'train',
    eval: 'eval',
    pending: 'pending'
} as const;
export type IntentEnum = typeof IntentEnum[keyof typeof IntentEnum];


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

export function IntentEnumFromJSON(json: any): IntentEnum {
    return IntentEnumFromJSONTyped(json, false);
}

export function IntentEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntentEnum {
    return json as IntentEnum;
}

export function IntentEnumToJSON(value?: IntentEnum | null): any {
    return value as any;
}

export function IntentEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): IntentEnum {
    return value as IntentEnum;
}