/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 40018638e2e7
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import * as components from "../components/index.js";
/** @internal */
export const ConnectorCreateOrUpdateUserCredentialsV1Request$outboundSchema = z.object({
    connectorIdOrName: z.string(),
    credentialsCreateOrUpdate: components.CredentialsCreateOrUpdate$outboundSchema,
}).transform((v) => {
    return remap$(v, {
        connectorIdOrName: "connector_id_or_name",
        credentialsCreateOrUpdate: "CredentialsCreateOrUpdate",
    });
});
export function connectorCreateOrUpdateUserCredentialsV1RequestToJSON(connectorCreateOrUpdateUserCredentialsV1Request) {
    return JSON.stringify(ConnectorCreateOrUpdateUserCredentialsV1Request$outboundSchema.parse(connectorCreateOrUpdateUserCredentialsV1Request));
}
//# sourceMappingURL=connectorcreateorupdateusercredentialsv1.js.map