"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
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 (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.BatchJobsOut$ = exports.BatchJobsOut$outboundSchema = exports.BatchJobsOut$inboundSchema = exports.BatchJobsOutObject$ = exports.BatchJobsOutObject$outboundSchema = exports.BatchJobsOutObject$inboundSchema = exports.BatchJobsOutObject = void 0;
exports.batchJobsOutToJSON = batchJobsOutToJSON;
exports.batchJobsOutFromJSON = batchJobsOutFromJSON;
const z = __importStar(require("zod"));
const schemas_js_1 = require("../../lib/schemas.js");
const batchjobout_js_1 = require("./batchjobout.js");
exports.BatchJobsOutObject = {
    List: "list",
};
/** @internal */
exports.BatchJobsOutObject$inboundSchema = z.nativeEnum(exports.BatchJobsOutObject);
/** @internal */
exports.BatchJobsOutObject$outboundSchema = exports.BatchJobsOutObject$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var BatchJobsOutObject$;
(function (BatchJobsOutObject$) {
    /** @deprecated use `BatchJobsOutObject$inboundSchema` instead. */
    BatchJobsOutObject$.inboundSchema = exports.BatchJobsOutObject$inboundSchema;
    /** @deprecated use `BatchJobsOutObject$outboundSchema` instead. */
    BatchJobsOutObject$.outboundSchema = exports.BatchJobsOutObject$outboundSchema;
})(BatchJobsOutObject$ || (exports.BatchJobsOutObject$ = BatchJobsOutObject$ = {}));
/** @internal */
exports.BatchJobsOut$inboundSchema = z.object({
    data: z.array(batchjobout_js_1.BatchJobOut$inboundSchema).optional(),
    object: exports.BatchJobsOutObject$inboundSchema.default("list"),
    total: z.number().int(),
});
/** @internal */
exports.BatchJobsOut$outboundSchema = z.object({
    data: z.array(batchjobout_js_1.BatchJobOut$outboundSchema).optional(),
    object: exports.BatchJobsOutObject$outboundSchema.default("list"),
    total: z.number().int(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var BatchJobsOut$;
(function (BatchJobsOut$) {
    /** @deprecated use `BatchJobsOut$inboundSchema` instead. */
    BatchJobsOut$.inboundSchema = exports.BatchJobsOut$inboundSchema;
    /** @deprecated use `BatchJobsOut$outboundSchema` instead. */
    BatchJobsOut$.outboundSchema = exports.BatchJobsOut$outboundSchema;
})(BatchJobsOut$ || (exports.BatchJobsOut$ = BatchJobsOut$ = {}));
function batchJobsOutToJSON(batchJobsOut) {
    return JSON.stringify(exports.BatchJobsOut$outboundSchema.parse(batchJobsOut));
}
function batchJobsOutFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BatchJobsOut$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BatchJobsOut' from JSON`);
}//# sourceMappingURL=https://main.vscode-cdn.net/sourcemaps/5441a53ac43cd6fc36e1ed855a6aa97abb5fd488/node_modules/@mistralai/mistralai/models/components/batchjobsout.js.map