/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 05faaf8705c3
 */

import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";

export type JobsApiRoutesBatchDeleteBatchJobRequest = {
  jobId: string;
};

/** @internal */
export type JobsApiRoutesBatchDeleteBatchJobRequest$Outbound = {
  job_id: string;
};

/** @internal */
export const JobsApiRoutesBatchDeleteBatchJobRequest$outboundSchema: z.ZodType<
  JobsApiRoutesBatchDeleteBatchJobRequest$Outbound,
  JobsApiRoutesBatchDeleteBatchJobRequest
> = z.object({
  jobId: z.string(),
}).transform((v) => {
  return remap$(v, {
    jobId: "job_id",
  });
});

export function jobsApiRoutesBatchDeleteBatchJobRequestToJSON(
  jobsApiRoutesBatchDeleteBatchJobRequest:
    JobsApiRoutesBatchDeleteBatchJobRequest,
): string {
  return JSON.stringify(
    JobsApiRoutesBatchDeleteBatchJobRequest$outboundSchema.parse(
      jobsApiRoutesBatchDeleteBatchJobRequest,
    ),
  );
}
