UNPKG

@unkey/api

Version:

Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@unkey/api* API.

14 lines 601 B
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; /** @internal */ export const V2PermissionsCreatePermissionRequestBody$outboundSchema = z.object({ name: z.string(), slug: z.string(), description: z.string().optional(), }); export function v2PermissionsCreatePermissionRequestBodyToJSON(v2PermissionsCreatePermissionRequestBody) { return JSON.stringify(V2PermissionsCreatePermissionRequestBody$outboundSchema.parse(v2PermissionsCreatePermissionRequestBody)); } //# sourceMappingURL=v2permissionscreatepermissionrequestbody.js.map