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


/**
 * * `account` - account
 * * `project` - project
 * @export
 */
export const ScopeEnum = {
    account: 'account',
    project: 'project'
} as const;
export type ScopeEnum = typeof ScopeEnum[keyof typeof ScopeEnum];


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

export function ScopeEnumFromJSON(json: any): ScopeEnum {
    return ScopeEnumFromJSONTyped(json, false);
}

export function ScopeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScopeEnum {
    return json as ScopeEnum;
}

export function ScopeEnumToJSON(value?: ScopeEnum | null): any {
    return value as any;
}

export function ScopeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): ScopeEnum {
    return value as ScopeEnum;
}