"use strict";
// This file was auto-generated by Fern from our API Definition.
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.AgentPlatformSettingsRequestModel = void 0;
const core = __importStar(require("../../core"));
const AgentCallLimits_1 = require("./AgentCallLimits");
const AgentTestingSettings_1 = require("./AgentTestingSettings");
const AgentWorkspaceOverridesInput_1 = require("./AgentWorkspaceOverridesInput");
const AnalysisScope_1 = require("./AnalysisScope");
const AuthSettings_1 = require("./AuthSettings");
const ConversationInitiationClientDataConfigInput_1 = require("./ConversationInitiationClientDataConfigInput");
const EvaluationSettingsInput_1 = require("./EvaluationSettingsInput");
const GuardrailsV1Input_1 = require("./GuardrailsV1Input");
const LiteralJsonSchemaProperty_1 = require("./LiteralJsonSchemaProperty");
const PrivacyConfigInput_1 = require("./PrivacyConfigInput");
const WidgetConfig_1 = require("./WidgetConfig");
exports.AgentPlatformSettingsRequestModel = core.serialization.object({
    evaluation: EvaluationSettingsInput_1.EvaluationSettingsInput.optional(),
    widget: WidgetConfig_1.WidgetConfig.optional(),
    dataCollection: core.serialization.property("data_collection", core.serialization.record(core.serialization.string(), LiteralJsonSchemaProperty_1.LiteralJsonSchemaProperty).optional()),
    dataCollectionScopes: core.serialization.property("data_collection_scopes", core.serialization.record(core.serialization.string(), AnalysisScope_1.AnalysisScope).optional()),
    overrides: ConversationInitiationClientDataConfigInput_1.ConversationInitiationClientDataConfigInput.optional(),
    workspaceOverrides: core.serialization.property("workspace_overrides", AgentWorkspaceOverridesInput_1.AgentWorkspaceOverridesInput.optional()),
    testing: AgentTestingSettings_1.AgentTestingSettings.optional(),
    archived: core.serialization.boolean().optional(),
    guardrails: GuardrailsV1Input_1.GuardrailsV1Input.optional(),
    summaryLanguage: core.serialization.property("summary_language", core.serialization.string().optional()),
    auth: AuthSettings_1.AuthSettings.optional(),
    callLimits: core.serialization.property("call_limits", AgentCallLimits_1.AgentCallLimits.optional()),
    privacy: PrivacyConfigInput_1.PrivacyConfigInput.optional(),
});
