The platform for continuously improving AI agents.
/* 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';
/**
* Marketing 'from' floors sourced from models.json pricing.
* @export
* @interface PublicModelPricing
*/
export interface PublicModelPricing {
/**
*
* @type {number}
* @memberof PublicModelPricing
*/
trainFromUsd: number;
/**
*
* @type {number}
* @memberof PublicModelPricing
*/
runFromUsdPer1mOutput: number;
}
/**
* Check if a given object implements the PublicModelPricing interface.
*/
export function instanceOfPublicModelPricing(value: object): value is PublicModelPricing {
if (!('trainFromUsd' in value) || value['trainFromUsd'] === undefined) return false;
if (!('runFromUsdPer1mOutput' in value) || value['runFromUsdPer1mOutput'] === undefined) return false;
return true;
}
export function PublicModelPricingFromJSON(json: any): PublicModelPricing {
return PublicModelPricingFromJSONTyped(json, false);
}
export function PublicModelPricingFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicModelPricing {
if (json == null) {
return json;
}
return {
'trainFromUsd': json['train_from_usd'],
'runFromUsdPer1mOutput': json['run_from_usd_per_1m_output'],
};
}
export function PublicModelPricingToJSON(json: any): PublicModelPricing {
return PublicModelPricingToJSONTyped(json, false);
}
export function PublicModelPricingToJSONTyped(value?: PublicModelPricing | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'train_from_usd': value['trainFromUsd'],
'run_from_usd_per_1m_output': value['runFromUsdPer1mOutput'],
};
}