"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.2-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.instanceOfFlowInspectorPlan = instanceOfFlowInspectorPlan;
exports.FlowInspectorPlanFromJSON = FlowInspectorPlanFromJSON;
exports.FlowInspectorPlanFromJSONTyped = FlowInspectorPlanFromJSONTyped;
exports.FlowInspectorPlanToJSON = FlowInspectorPlanToJSON;
exports.FlowInspectorPlanToJSONTyped = FlowInspectorPlanToJSONTyped;
const FlowStageBinding_1 = require("./FlowStageBinding");
/**
 * Check if a given object implements the FlowInspectorPlan interface.
 */
function instanceOfFlowInspectorPlan(value) {
    if (!('currentStage' in value) || value['currentStage'] === undefined)
        return false;
    if (!('nextPlannedStage' in value) || value['nextPlannedStage'] === undefined)
        return false;
    if (!('planContext' in value) || value['planContext'] === undefined)
        return false;
    if (!('sessionId' in value) || value['sessionId'] === undefined)
        return false;
    return true;
}
function FlowInspectorPlanFromJSON(json) {
    return FlowInspectorPlanFromJSONTyped(json, false);
}
function FlowInspectorPlanFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'currentStage': (0, FlowStageBinding_1.FlowStageBindingFromJSON)(json['current_stage']),
        'nextPlannedStage': (0, FlowStageBinding_1.FlowStageBindingFromJSON)(json['next_planned_stage']),
        'planContext': json['plan_context'],
        'sessionId': json['session_id'],
    };
}
function FlowInspectorPlanToJSON(json) {
    return FlowInspectorPlanToJSONTyped(json, false);
}
function FlowInspectorPlanToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {};
}
//# sourceMappingURL=FlowInspectorPlan.js.map