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.
*/
/**
* @type TriggerConfigurationRequestRevision
*
* @export
*/
export type TriggerConfigurationRequestRevision = number | string;
export function TriggerConfigurationRequestRevisionFromJSON(json: any): TriggerConfigurationRequestRevision {
return TriggerConfigurationRequestRevisionFromJSONTyped(json, false);
}
export function TriggerConfigurationRequestRevisionFromJSONTyped(json: any, ignoreDiscriminator: boolean): TriggerConfigurationRequestRevision {
if (json == null) {
return json;
}
if (typeof json === 'string' && (json === 'current')) {
return json;
}
if (typeof json === 'number') {
return json;
}
return {} as any;
}
export function TriggerConfigurationRequestRevisionToJSON(json: any): any {
return TriggerConfigurationRequestRevisionToJSONTyped(json, false);
}
export function TriggerConfigurationRequestRevisionToJSONTyped(value?: TriggerConfigurationRequestRevision | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
if (typeof value === 'string' && (value === 'current')) {
return value;
}
if (typeof value === 'number') {
return value;
}
return {};
}