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 WorkshopInteractionRequest
*/
export interface WorkshopInteractionRequest {
/**
*
* @type {string}
* @memberof WorkshopInteractionRequest
*/
message: string;
/**
*
* @type {string}
* @memberof WorkshopInteractionRequest
*/
component: string;
/**
*
* @type {{ [key: string]: any; }}
* @memberof WorkshopInteractionRequest
*/
values: { [key: string]: any; };
}
/**
* Check if a given object implements the WorkshopInteractionRequest interface.
*/
export function instanceOfWorkshopInteractionRequest(value: object): value is WorkshopInteractionRequest {
if (!('message' in value) || value['message'] === undefined) return false;
if (!('component' in value) || value['component'] === undefined) return false;
if (!('values' in value) || value['values'] === undefined) return false;
return true;
}
export function WorkshopInteractionRequestFromJSON(json: any): WorkshopInteractionRequest {
return WorkshopInteractionRequestFromJSONTyped(json, false);
}
export function WorkshopInteractionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkshopInteractionRequest {
if (json == null) {
return json;
}
return {
'message': json['message'],
'component': json['component'],
'values': json['values'],
};
}
export function WorkshopInteractionRequestToJSON(json: any): WorkshopInteractionRequest {
return WorkshopInteractionRequestToJSONTyped(json, false);
}
export function WorkshopInteractionRequestToJSONTyped(value?: WorkshopInteractionRequest | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'message': value['message'],
'component': value['component'],
'values': value['values'],
};
}