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


/**
 * * `investigate` - investigate
 * * `wake` - wake
 * * `run` - run
 * @export
 */
export const TargetEnum = {
    investigate: 'investigate',
    wake: 'wake',
    run: 'run'
} as const;
export type TargetEnum = typeof TargetEnum[keyof typeof TargetEnum];


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

export function TargetEnumFromJSON(json: any): TargetEnum {
    return TargetEnumFromJSONTyped(json, false);
}

export function TargetEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): TargetEnum {
    return json as TargetEnum;
}

export function TargetEnumToJSON(value?: TargetEnum | null): any {
    return value as any;
}

export function TargetEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): TargetEnum {
    return value as TargetEnum;
}