/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 96685b3da457
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import * as components from "../components/index.js";
/** @internal */
export const PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequest$outboundSchema = z.object({
    datasetId: z.string(),
    importDatasetFromCampaignRequest: components.ImportDatasetFromCampaignRequest$outboundSchema,
}).transform((v) => {
    return remap$(v, {
        datasetId: "dataset_id",
        importDatasetFromCampaignRequest: "ImportDatasetFromCampaignRequest",
    });
});
export function postDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequestToJSON(postDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequest) {
    return JSON.stringify(PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequest$outboundSchema
        .parse(postDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequest));
}
//# sourceMappingURL=postdatasetrecordsfromcampaignv1observabilitydatasetsdatasetidimportsfromcampaignpost.js.map