/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v4-mini"; import * as openEnums from "../types/enums.js"; import { OpenEnum } from "../types/enums.js"; /** * Exactly what went wrong. Stable; safe to branch on. New codes may be added. * * @remarks * * - `resource_not_found`: The resource does not exist. * - `action_not_found`: The action does not exist. * - `author_not_found`: The author does not exist. * - `queue_not_found`: The review queue does not exist. * - `wordlist_not_found`: The wordlist does not exist. * - `webhook_not_found`: The webhook does not exist. * - `project_not_found`: The project does not exist. * - `channel_not_found`: The channel does not exist. */ export const NotFoundErrorCode = { ResourceNotFound: "resource_not_found", ActionNotFound: "action_not_found", AuthorNotFound: "author_not_found", QueueNotFound: "queue_not_found", WordlistNotFound: "wordlist_not_found", WebhookNotFound: "webhook_not_found", ProjectNotFound: "project_not_found", ChannelNotFound: "channel_not_found", } as const; /** * Exactly what went wrong. Stable; safe to branch on. New codes may be added. * * @remarks * * - `resource_not_found`: The resource does not exist. * - `action_not_found`: The action does not exist. * - `author_not_found`: The author does not exist. * - `queue_not_found`: The review queue does not exist. * - `wordlist_not_found`: The wordlist does not exist. * - `webhook_not_found`: The webhook does not exist. * - `project_not_found`: The project does not exist. * - `channel_not_found`: The channel does not exist. */ export type NotFoundErrorCode = OpenEnum; /** @internal */ export const NotFoundErrorCode$inboundSchema: z.ZodMiniType< NotFoundErrorCode, unknown > = openEnums.inboundSchema(NotFoundErrorCode);