/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 92d3577970b6
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import * as components from "../components/index.js";
/** @internal */
export const ConnectorListOrganizationCredentialsV1Request$outboundSchema = z.object({
    authType: z.nullable(components.OutboundAuthenticationType$outboundSchema)
        .optional(),
    fetchDefault: z.boolean().default(false),
    connectorIdOrName: z.string(),
}).transform((v) => {
    return remap$(v, {
        authType: "auth_type",
        fetchDefault: "fetch_default",
        connectorIdOrName: "connector_id_or_name",
    });
});
export function connectorListOrganizationCredentialsV1RequestToJSON(connectorListOrganizationCredentialsV1Request) {
    return JSON.stringify(ConnectorListOrganizationCredentialsV1Request$outboundSchema.parse(connectorListOrganizationCredentialsV1Request));
}
//# sourceMappingURL=connectorlistorganizationcredentialsv1.js.map