# Configuration Accessor Functions
# Generated from Nickel schema: {$env.PROVISIONING}/schemas/config/settings/main.ncl
# DO NOT EDIT - Generated by accessor_generator.nu v1.0.0
#
# Generator version: 1.0.0
# Generated: 2026-01-13T13:49:23Z
# Schema: {$env.PROVISIONING}/schemas/config/settings/main.ncl
# Schema Hash: e129e50bba0128e066412eb63b12f6fd0f955d43133e1826dd5dc9405b8a9647
# Accessor Count: 76
#
# This file contains 76 accessor functions automatically generated
# from the Nickel schema. Each function provides type-safe access to a
# configuration value with proper defaults.
#
# NUSHELL COMPLIANCE:
# - Rule 3: No mutable variables, uses reduce fold
# - Rule 5: Uses do-complete error handling pattern
# - Rule 8: Uses is-not-empty and each
# - Rule 9: Boolean flags without type annotations
# - Rule 11: All functions are exported
# - Rule 15: No parameterized types
#
# NICKEL COMPLIANCE:
# - Schema-first design with all fields from schema
# - Design by contract via schema validation
# - JSON output validation for schema types

use ./accessor.nu *

export def get-DefaultAIProvider-enable_query_ai [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultAIProvider.enable_query_ai" true --config $cfg
}

export def get-DefaultAIProvider-enable_template_ai [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultAIProvider.enable_template_ai" true --config $cfg
}

export def get-DefaultAIProvider-enable_webhook_ai [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultAIProvider.enable_webhook_ai" false --config $cfg
}

export def get-DefaultAIProvider-enabled [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultAIProvider.enabled" false --config $cfg
}

export def get-DefaultAIProvider-max_tokens [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultAIProvider.max_tokens" 2048 --config $cfg
}

export def get-DefaultAIProvider-provider [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultAIProvider.provider" "openai" --config $cfg
}

export def get-DefaultAIProvider-temperature [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultAIProvider.temperature" 0.3 --config $cfg
}

export def get-DefaultAIProvider-timeout [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultAIProvider.timeout" 30 --config $cfg
}

export def get-DefaultKmsConfig-auth_method [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultKmsConfig.auth_method" "certificate" --config $cfg
}

export def get-DefaultKmsConfig-server_url [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultKmsConfig.server_url" "" --config $cfg
}

export def get-DefaultKmsConfig-timeout [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultKmsConfig.timeout" 30 --config $cfg
}

export def get-DefaultKmsConfig-verify_ssl [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultKmsConfig.verify_ssl" true --config $cfg
}

export def get-DefaultRunSet-inventory_file [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultRunSet.inventory_file" "./inventory.yaml" --config $cfg
}

export def get-DefaultRunSet-output_format [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultRunSet.output_format" "human" --config $cfg
}

export def get-DefaultRunSet-output_path [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultRunSet.output_path" "tmp/NOW-deploy" --config $cfg
}

export def get-DefaultRunSet-use_time [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultRunSet.use_time" true --config $cfg
}

export def get-DefaultRunSet-wait [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultRunSet.wait" true --config $cfg
}

export def get-DefaultSecretProvider-provider [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSecretProvider.provider" "sops" --config $cfg
}

export def get-DefaultSettings-cluster_admin_host [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.cluster_admin_host" "" --config $cfg
}

export def get-DefaultSettings-cluster_admin_port [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.cluster_admin_port" 22 --config $cfg
}

export def get-DefaultSettings-cluster_admin_user [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.cluster_admin_user" "root" --config $cfg
}

export def get-DefaultSettings-clusters_paths [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.clusters_paths" null --config $cfg
}

export def get-DefaultSettings-clusters_save_path [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.clusters_save_path" "/${main_name}/clusters" --config $cfg
}

export def get-DefaultSettings-created_clusters_dirpath [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.created_clusters_dirpath" "./tmp/NOW_clusters" --config $cfg
}

export def get-DefaultSettings-created_taskservs_dirpath [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.created_taskservs_dirpath" "./tmp/NOW_deployment" --config $cfg
}

export def get-DefaultSettings-defaults_provs_dirpath [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.defaults_provs_dirpath" "./defs" --config $cfg
}

export def get-DefaultSettings-defaults_provs_suffix [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.defaults_provs_suffix" "_defaults.k" --config $cfg
}

export def get-DefaultSettings-main_name [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.main_name" "" --config $cfg
}

export def get-DefaultSettings-main_title [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.main_title" "" --config $cfg
}

export def get-DefaultSettings-prov_clusters_path [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.prov_clusters_path" "./clusters" --config $cfg
}

export def get-DefaultSettings-prov_data_dirpath [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.prov_data_dirpath" "./data" --config $cfg
}

export def get-DefaultSettings-prov_data_suffix [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.prov_data_suffix" "_settings.k" --config $cfg
}

export def get-DefaultSettings-prov_local_bin_path [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.prov_local_bin_path" "./bin" --config $cfg
}

export def get-DefaultSettings-prov_resources_path [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.prov_resources_path" "./resources" --config $cfg
}

export def get-DefaultSettings-servers_paths [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.servers_paths" null --config $cfg
}

export def get-DefaultSettings-servers_wait_started [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.servers_wait_started" 27 --config $cfg
}

export def get-DefaultSettings-settings_path [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSettings.settings_path" "./settings.yaml" --config $cfg
}

export def get-DefaultSopsConfig-use_age [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "DefaultSopsConfig.use_age" true --config $cfg
}

export def get-defaults-ai_provider-enable_query_ai [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.ai_provider.enable_query_ai" true --config $cfg
}

export def get-defaults-ai_provider-enable_template_ai [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.ai_provider.enable_template_ai" true --config $cfg
}

export def get-defaults-ai_provider-enable_webhook_ai [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.ai_provider.enable_webhook_ai" false --config $cfg
}

export def get-defaults-ai_provider-enabled [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.ai_provider.enabled" false --config $cfg
}

export def get-defaults-ai_provider-max_tokens [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.ai_provider.max_tokens" 2048 --config $cfg
}

export def get-defaults-ai_provider-provider [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.ai_provider.provider" "openai" --config $cfg
}

export def get-defaults-ai_provider-temperature [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.ai_provider.temperature" 0.3 --config $cfg
}

export def get-defaults-ai_provider-timeout [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.ai_provider.timeout" 30 --config $cfg
}

export def get-defaults-kms_config-auth_method [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.kms_config.auth_method" "certificate" --config $cfg
}

export def get-defaults-kms_config-server_url [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.kms_config.server_url" "" --config $cfg
}

export def get-defaults-kms_config-timeout [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.kms_config.timeout" 30 --config $cfg
}

export def get-defaults-kms_config-verify_ssl [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.kms_config.verify_ssl" true --config $cfg
}

export def get-defaults-run_set-inventory_file [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.run_set.inventory_file" "./inventory.yaml" --config $cfg
}

export def get-defaults-run_set-output_format [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.run_set.output_format" "human" --config $cfg
}

export def get-defaults-run_set-output_path [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.run_set.output_path" "tmp/NOW-deploy" --config $cfg
}

export def get-defaults-run_set-use_time [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.run_set.use_time" true --config $cfg
}

export def get-defaults-run_set-wait [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.run_set.wait" true --config $cfg
}

export def get-defaults-secret_provider-provider [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.secret_provider.provider" "sops" --config $cfg
}

export def get-defaults-settings-cluster_admin_host [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.cluster_admin_host" "" --config $cfg
}

export def get-defaults-settings-cluster_admin_port [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.cluster_admin_port" 22 --config $cfg
}

export def get-defaults-settings-cluster_admin_user [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.cluster_admin_user" "root" --config $cfg
}

export def get-defaults-settings-clusters_paths [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.clusters_paths" null --config $cfg
}

export def get-defaults-settings-clusters_save_path [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.clusters_save_path" "/${main_name}/clusters" --config $cfg
}

export def get-defaults-settings-created_clusters_dirpath [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.created_clusters_dirpath" "./tmp/NOW_clusters" --config $cfg
}

export def get-defaults-settings-created_taskservs_dirpath [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.created_taskservs_dirpath" "./tmp/NOW_deployment" --config $cfg
}

export def get-defaults-settings-defaults_provs_dirpath [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.defaults_provs_dirpath" "./defs" --config $cfg
}

export def get-defaults-settings-defaults_provs_suffix [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.defaults_provs_suffix" "_defaults.k" --config $cfg
}

export def get-defaults-settings-main_name [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.main_name" "" --config $cfg
}

export def get-defaults-settings-main_title [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.main_title" "" --config $cfg
}

export def get-defaults-settings-prov_clusters_path [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.prov_clusters_path" "./clusters" --config $cfg
}

export def get-defaults-settings-prov_data_dirpath [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.prov_data_dirpath" "./data" --config $cfg
}

export def get-defaults-settings-prov_data_suffix [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.prov_data_suffix" "_settings.k" --config $cfg
}

export def get-defaults-settings-prov_local_bin_path [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.prov_local_bin_path" "./bin" --config $cfg
}

export def get-defaults-settings-prov_resources_path [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.prov_resources_path" "./resources" --config $cfg
}

export def get-defaults-settings-servers_paths [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.servers_paths" null --config $cfg
}

export def get-defaults-settings-servers_wait_started [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.servers_wait_started" 27 --config $cfg
}

export def get-defaults-settings-settings_path [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.settings.settings_path" "./settings.yaml" --config $cfg
}

export def get-defaults-sops_config-use_age [
    --cfg_input: any = null
] {
    let cfg = if ($cfg_input | is-not-empty) {
        $cfg_input
    } else {
        get-config
    }
    config-get "defaults.sops_config.use_age" true --config $cfg
}
