"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.0-rc1
 * Contact: hello@goauthentik.io
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfCaptchaChallengeResponseRequest = instanceOfCaptchaChallengeResponseRequest;
exports.CaptchaChallengeResponseRequestFromJSON = CaptchaChallengeResponseRequestFromJSON;
exports.CaptchaChallengeResponseRequestFromJSONTyped = CaptchaChallengeResponseRequestFromJSONTyped;
exports.CaptchaChallengeResponseRequestToJSON = CaptchaChallengeResponseRequestToJSON;
exports.CaptchaChallengeResponseRequestToJSONTyped = CaptchaChallengeResponseRequestToJSONTyped;
/**
 * Check if a given object implements the CaptchaChallengeResponseRequest interface.
 */
function instanceOfCaptchaChallengeResponseRequest(value) {
    if (!('token' in value) || value['token'] === undefined)
        return false;
    return true;
}
function CaptchaChallengeResponseRequestFromJSON(json) {
    return CaptchaChallengeResponseRequestFromJSONTyped(json, false);
}
function CaptchaChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'component': json['component'] == null ? undefined : json['component'],
        'token': json['token'],
    };
}
function CaptchaChallengeResponseRequestToJSON(json) {
    return CaptchaChallengeResponseRequestToJSONTyped(json, false);
}
function CaptchaChallengeResponseRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'component': value['component'],
        'token': value['token'],
    };
}
//# sourceMappingURL=CaptchaChallengeResponseRequest.js.map