import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdk-validation-error.js"; export type UpdateWordlistRequestBody = { /** * New name for the wordlist */ name?: string | undefined; /** * New key for the wordlist */ key?: string | undefined; /** * New description for the wordlist */ description?: string | undefined; /** * New words for the wordlist. Replace the existing words with these new ones. Duplicate words will be ignored. */ words?: Array | undefined; /** * Deprecated. Now using threshold in project settings. */ strict?: boolean | undefined; }; export type UpdateWordlistRequest = { /** * ID of the wordlist to update */ id: string; /** * The project to act on, when you call with an organization key. Optional when the organization has one project. A project key acts on its own project: naming another one is an error. */ projectId?: string | undefined; body: UpdateWordlistRequestBody; }; /** * Wordlist updated successfully */ export type UpdateWordlistResponse = { /** * ID of the wordlist */ id: string; name: string | null; /** * Words in the wordlist */ words: Array; /** * Creation date of the wordlist */ createdAt: string; /** * ID of the organization */ organizationId: string; userId: string | null; /** * Strict mode */ strict: boolean; }; /** @internal */ export type UpdateWordlistRequestBody$Outbound = { name?: string | undefined; key?: string | undefined; description?: string | undefined; words?: Array | undefined; strict?: boolean | undefined; }; /** @internal */ export declare const UpdateWordlistRequestBody$outboundSchema: z.ZodMiniType; export declare function updateWordlistRequestBodyToJSON(updateWordlistRequestBody: UpdateWordlistRequestBody): string; /** @internal */ export type UpdateWordlistRequest$Outbound = { id: string; projectId?: string | undefined; body: UpdateWordlistRequestBody$Outbound; }; /** @internal */ export declare const UpdateWordlistRequest$outboundSchema: z.ZodMiniType; export declare function updateWordlistRequestToJSON(updateWordlistRequest: UpdateWordlistRequest): string; /** @internal */ export declare const UpdateWordlistResponse$inboundSchema: z.ZodMiniType; export declare function updateWordlistResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=update-wordlist.d.ts.map