/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 79d34235f8bb
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import * as components from "../components/index.js";
/** @internal */
export const PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequest$outboundSchema = z.object({
    datasetId: z.string(),
    importDatasetFromPlaygroundRequest: components.ImportDatasetFromPlaygroundRequest$outboundSchema,
}).transform((v) => {
    return remap$(v, {
        datasetId: "dataset_id",
        importDatasetFromPlaygroundRequest: "ImportDatasetFromPlaygroundRequest",
    });
});
export function postDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequestToJSON(postDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequest) {
    return JSON.stringify(PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequest$outboundSchema
        .parse(postDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequest));
}
//# sourceMappingURL=postdatasetrecordsfromplaygroundv1observabilitydatasetsdatasetidimportsfromplaygroundpost.js.map