/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; export type RBACRoleV2 = { /** * Description of the purpose for the RBAC role */ description?: string | undefined; /** * Unique identifier of the RBAC role */ id: string; /** * Name of the RBAC role */ name: string; /** * Unique human-readable slug for the RBAC role */ slug: string; }; /** @internal */ export const RBACRoleV2$inboundSchema: z.ZodType< RBACRoleV2, z.ZodTypeDef, unknown > = z.object({ description: z.string().optional(), id: z.string(), name: z.string(), slug: z.string(), }); /** @internal */ export type RBACRoleV2$Outbound = { description?: string | undefined; id: string; name: string; slug: string; }; /** @internal */ export const RBACRoleV2$outboundSchema: z.ZodType< RBACRoleV2$Outbound, z.ZodTypeDef, RBACRoleV2 > = z.object({ description: z.string().optional(), id: z.string(), name: z.string(), slug: z.string(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace RBACRoleV2$ { /** @deprecated use `RBACRoleV2$inboundSchema` instead. */ export const inboundSchema = RBACRoleV2$inboundSchema; /** @deprecated use `RBACRoleV2$outboundSchema` instead. */ export const outboundSchema = RBACRoleV2$outboundSchema; /** @deprecated use `RBACRoleV2$Outbound` instead. */ export type Outbound = RBACRoleV2$Outbound; }