/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 7ba64040b920
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import * as components from "../components/index.js";
/** @internal */
export const ConnectorListWorkspaceCredentialsV1Request$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 connectorListWorkspaceCredentialsV1RequestToJSON(connectorListWorkspaceCredentialsV1Request) {
    return JSON.stringify(ConnectorListWorkspaceCredentialsV1Request$outboundSchema.parse(connectorListWorkspaceCredentialsV1Request));
}
//# sourceMappingURL=connectorlistworkspacecredentialsv1.js.map