/*
 * 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";
import * as components from "../components/index.js";
/** @internal */
export const ConnectorGetAuthUrlV1Request$outboundSchema = z.object({
    appReturnUrl: z.nullable(z.string()).optional(),
    methodType: components.OutboundAuthenticationType$outboundSchema.optional(),
    credentialsName: z.nullable(z.string()).optional(),
    githubInstallationLink: z.boolean().default(false),
    connectorIdOrName: z.string(),
}).transform((v) => {
    return remap$(v, {
        appReturnUrl: "app_return_url",
        methodType: "method_type",
        credentialsName: "credentials_name",
        githubInstallationLink: "github_installation_link",
        connectorIdOrName: "connector_id_or_name",
    });
});
export function connectorGetAuthUrlV1RequestToJSON(connectorGetAuthUrlV1Request) {
    return JSON.stringify(ConnectorGetAuthUrlV1Request$outboundSchema.parse(connectorGetAuthUrlV1Request));
}
//# sourceMappingURL=connectorgetauthurlv1.js.map