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';
/**
*
* @export
* @interface LocalSessionRequest
*/
export interface LocalSessionRequest {
/**
*
* @type {string}
* @memberof LocalSessionRequest
*/
email: string;
/**
*
* @type {string}
* @memberof LocalSessionRequest
*/
password: string;
}
/**
* Check if a given object implements the LocalSessionRequest interface.
*/
export function instanceOfLocalSessionRequest(value: object): value is LocalSessionRequest {
if (!('email' in value) || value['email'] === undefined) return false;
if (!('password' in value) || value['password'] === undefined) return false;
return true;
}
export function LocalSessionRequestFromJSON(json: any): LocalSessionRequest {
return LocalSessionRequestFromJSONTyped(json, false);
}
export function LocalSessionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LocalSessionRequest {
if (json == null) {
return json;
}
return {
'email': json['email'],
'password': json['password'],
};
}
export function LocalSessionRequestToJSON(json: any): LocalSessionRequest {
return LocalSessionRequestToJSONTyped(json, false);
}
export function LocalSessionRequestToJSONTyped(value?: LocalSessionRequest | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'email': value['email'],
'password': value['password'],
};
}