/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { wordlistWordsAdd } from "../funcs/wordlist-words-add.js"; import { wordlistWordsRemove } from "../funcs/wordlist-words-remove.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Words extends ClientSDK { /** * Add words to wordlist * * @remarks * Add words to an existing wordlist */ async add( id: string, body: operations.AddWordlistWordsRequestBody, projectId?: string | undefined, options?: RequestOptions, ): Promise { return unwrapAsync(wordlistWordsAdd( this, id, body, projectId, options, )); } /** * Remove words from wordlist * * @remarks * Remove words from an existing wordlist */ async remove( id: string, words: Array, projectId?: string | undefined, options?: RequestOptions, ): Promise { return unwrapAsync(wordlistWordsRemove( this, id, words, projectId, options, )); } }