Skip to content

The platform for continuously improving AI agents.

1.8 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 EvaluationResumeRequest
 */
export interface EvaluationResumeRequest {
    /**
     *
     * @type {string}
     * @memberof EvaluationResumeRequest
     */
    stage?: string;
    /**
     *
     * @type {string}
     * @memberof EvaluationResumeRequest
     */
    callId?: string;
}

/**
 * Check if a given object implements the EvaluationResumeRequest interface.
 */
export function instanceOfEvaluationResumeRequest(value: object): value is EvaluationResumeRequest {
    return true;
}

export function EvaluationResumeRequestFromJSON(json: any): EvaluationResumeRequest {
    return EvaluationResumeRequestFromJSONTyped(json, false);
}

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

        'stage': json['stage'] == null ? undefined : json['stage'],
        'callId': json['call_id'] == null ? undefined : json['call_id'],
    };
}

export function EvaluationResumeRequestToJSON(json: any): EvaluationResumeRequest {
    return EvaluationResumeRequestToJSONTyped(json, false);
}

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

    return {

        'stage': value['stage'],
        'call_id': value['callId'],
    };
}