/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: e84ab59852d5
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
/** @internal */
export const ConnectorGetAuthUrlV1Request$outboundSchema = z.object({
    appReturnUrl: z.nullable(z.string()).optional(),
    credentialsName: z.nullable(z.string()).optional(),
    connectorIdOrName: z.string(),
}).transform((v) => {
    return remap$(v, {
        appReturnUrl: "app_return_url",
        credentialsName: "credentials_name",
        connectorIdOrName: "connector_id_or_name",
    });
});
export function connectorGetAuthUrlV1RequestToJSON(connectorGetAuthUrlV1Request) {
    return JSON.stringify(ConnectorGetAuthUrlV1Request$outboundSchema.parse(connectorGetAuthUrlV1Request));
}
//# sourceMappingURL=connectorgetauthurlv1.js.map