/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 0876ea9e2709
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const ConnectorAuthenticationHeader$inboundSchema = z.object({
    name: z.string(),
    is_required: z.boolean().default(true),
    is_secret: z.boolean().default(true),
}).transform((v) => {
    return remap$(v, {
        "is_required": "isRequired",
        "is_secret": "isSecret",
    });
});
export function connectorAuthenticationHeaderFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ConnectorAuthenticationHeader$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConnectorAuthenticationHeader' from JSON`);
}
//# sourceMappingURL=connectorauthenticationheader.js.map