/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 9fa02c40eb9c
 */
import * as z from "zod/v4";
/** @internal */
export const CreateGithubRepositoryRequest$outboundSchema = z.object({
    type: z.literal("github"),
    name: z.string(),
    owner: z.string(),
    ref: z.nullable(z.string()).optional(),
    weight: z.number().default(1),
    token: z.string(),
});
export function createGithubRepositoryRequestToJSON(createGithubRepositoryRequest) {
    return JSON.stringify(CreateGithubRepositoryRequest$outboundSchema.parse(createGithubRepositoryRequest));
}
//# sourceMappingURL=creategithubrepositoryrequest.js.map