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