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 ConsentDecisionRequest
*/
export interface ConsentDecisionRequest {
/**
*
* @type {string}
* @memberof ConsentDecisionRequest
*/
request: string;
/**
*
* @type {boolean}
* @memberof ConsentDecisionRequest
*/
approve: boolean;
}
/**
* Check if a given object implements the ConsentDecisionRequest interface.
*/
export function instanceOfConsentDecisionRequest(value: object): value is ConsentDecisionRequest {
if (!('request' in value) || value['request'] === undefined) return false;
if (!('approve' in value) || value['approve'] === undefined) return false;
return true;
}
export function ConsentDecisionRequestFromJSON(json: any): ConsentDecisionRequest {
return ConsentDecisionRequestFromJSONTyped(json, false);
}
export function ConsentDecisionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConsentDecisionRequest {
if (json == null) {
return json;
}
return {
'request': json['request'],
'approve': json['approve'],
};
}
export function ConsentDecisionRequestToJSON(json: any): ConsentDecisionRequest {
return ConsentDecisionRequestToJSONTyped(json, false);
}
export function ConsentDecisionRequestToJSONTyped(value?: ConsentDecisionRequest | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'request': value['request'],
'approve': value['approve'],
};
}