Skip to content

The platform for continuously improving AI agents.

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

import { mapValues } from '../runtime';
/**
 *
 * @export
 * @interface CapabilityFlowExpectedOutput
 */
export interface CapabilityFlowExpectedOutput {
    /**
     *
     * @type {string}
     * @memberof CapabilityFlowExpectedOutput
     */
    description: string;
    /**
     *
     * @type {any}
     * @memberof CapabilityFlowExpectedOutput
     */
    example?: any | null;
    /**
     *
     * @type {Array<string>}
     * @memberof CapabilityFlowExpectedOutput
     */
    qualitySignals?: Array<string>;
}

/**
 * Check if a given object implements the CapabilityFlowExpectedOutput interface.
 */
export function instanceOfCapabilityFlowExpectedOutput(value: object): value is CapabilityFlowExpectedOutput {
    if (!('description' in value) || value['description'] === undefined) return false;
    return true;
}

export function CapabilityFlowExpectedOutputFromJSON(json: any): CapabilityFlowExpectedOutput {
    return CapabilityFlowExpectedOutputFromJSONTyped(json, false);
}

export function CapabilityFlowExpectedOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CapabilityFlowExpectedOutput {
    if (json == null) {
        return json;
    }
    return {

        'description': json['description'],
        'example': json['example'] == null ? undefined : json['example'],
        'qualitySignals': json['quality_signals'] == null ? undefined : json['quality_signals'],
    };
}

export function CapabilityFlowExpectedOutputToJSON(json: any): CapabilityFlowExpectedOutput {
    return CapabilityFlowExpectedOutputToJSONTyped(json, false);
}

export function CapabilityFlowExpectedOutputToJSONTyped(value?: CapabilityFlowExpectedOutput | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {

        'description': value['description'],
        'example': value['example'],
        'quality_signals': value['qualitySignals'],
    };
}